|
Bugzilla – Full Text Bug Listing |
| Summary: | ntfs rw is not supported via hotplug | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Dominik Platz <psikodad> |
| Component: | GNOME | Assignee: | Vincent Untz <vuntz> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P2 - High | CC: | angelo.compagnucci, aschnell, cfn_luca, forgotten_--EoyBps8f, forgotten_qkdF2eBG0D, joao, kerekfyp, lee_matheson, quentin.jackson, sfurdal, stefan.kunze, szaka, vuntz, x3ro.daemon |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 433187 | ||
| Attachments: |
yast logs
lshal output before hotplug lshal output after hotplug lshal output after hotplug under 11.0 Beta2 Yast logs yast-partitioning-error y2logs-partitioning-error |
||
|
Description
Dominik Platz
2008-05-01 14:28:39 UTC
Now, I updated ntfs-3g to 1.2310-9 and installed ntfs-config 1.0.1-87 I executed ntfs-config and enable "enable write support for external devices (my translation from german "Schreibfunktion für externe Geräte aktivieren") afterwards I plugged the hard disc again, the error messages changed (hal/konqueror): --- TODO: have to rethink extra options --- /var/log/messages ends with: (error with utf8 disappears) --- May 1 17:07:50 linux klogd: usb 2-2: new high speed USB device using ehci_hcd and address 2 May 1 17:07:50 linux klogd: usb 2-2: configuration #1 chosen from 1 choice May 1 17:07:50 linux klogd: usb 2-2: New USB device found, idVendor=04cf, idProduct=8818 May 1 17:07:50 linux klogd: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 May 1 17:07:50 linux klogd: usb 2-2: Product: USB Mass Storage Device May 1 17:07:50 linux klogd: usb 2-2: Manufacturer: Myson Century, Inc. May 1 17:07:50 linux klogd: Initializing USB Mass Storage driver... May 1 17:07:50 linux klogd: scsi6 : SCSI emulation for USB Mass Storage devices May 1 17:07:50 linux klogd: usbcore: registered new interface driver usb-storage May 1 17:07:50 linux klogd: USB Mass Storage support registered. May 1 17:07:50 linux klogd: usb-storage: device found at 2 May 1 17:07:50 linux klogd: usb-storage: waiting for device to settle before scanning May 1 17:07:51 linux klogd: scsi 6:0:0:0: Direct-Access SAMSUNG SV4084H PM10 PQ: 0 ANSI: 0 CCS May 1 17:07:51 linux klogd: sd 6:0:0:0: [sdc] 79730784 512-byte hardware sectors (40822 MB) May 1 17:07:51 linux klogd: sd 6:0:0:0: [sdc] Write Protect is off May 1 17:07:51 linux klogd: sd 6:0:0:0: [sdc] Mode Sense: 00 14 00 00 May 1 17:07:51 linux klogd: sd 6:0:0:0: [sdc] Assuming drive cache: write through May 1 17:07:51 linux klogd: sd 6:0:0:0: [sdc] 79730784 512-byte hardware sectors (40822 MB) May 1 17:07:51 linux klogd: sd 6:0:0:0: [sdc] Write Protect is off May 1 17:07:51 linux klogd: sd 6:0:0:0: [sdc] Mode Sense: 00 14 00 00 May 1 17:07:51 linux klogd: sd 6:0:0:0: [sdc] Assuming drive cache: write through May 1 17:07:51 linux klogd: sdc: sdc1 May 1 17:07:51 linux klogd: sd 6:0:0:0: [sdc] Attached SCSI disk May 1 17:07:51 linux klogd: sd 6:0:0:0: Attached scsi generic sg2 type 0 May 1 17:07:51 linux klogd: usb-storage: device scan complete --- Created attachment 211781 [details]
yast logs
Reassigned to hotplug component assignee. please provide your lshal output. I assume the mount options are wrong as given by hal Created attachment 214195 [details]
lshal output before hotplug
Created attachment 214196 [details]
lshal output after hotplug
output of mount: (I don't know if it helps...) /dev/sdb7 on / type reiserfs (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/sdb6 on /backup type reiserfs (rw) fusectl on /sys/fs/fuse/connections type fusectl (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) Created attachment 214202 [details]
lshal output after hotplug under 11.0 Beta2
problem exists with 11.0 beta2, too. (see comment #8) The ntfs-3g package is responsible for the correct and allowed mount options. Reassign to package owner. *** Bug 389122 has been marked as a duplicate of this bug. *** I wrote the Bug 389122 report (which has been marked as a duplicate of this bug) on openSUSE-11.0 beta2. I again tested this (failed automatic/hot-plugin of an NTFS external drive) functionality, this time on openSUSE 11.0 beta3, and the problem still exists (ie hot-plug auto-mount fails). ... (Note it is possible to manually mount the drive from konsole) AND one more thing: an ordinary user cannot acces wrtie mode ntfs! Olny root can... Please fix this till 11 GM release. External usb drive, with ntfs file system, is mounted correctly but only in read mode. Using openSUSE 11 RC. With RC1 KDE 3.5 it's the same error as in beta1. But with RC1 and KDE 4 the behavior is slightly different: instead of NTFS-3G it uses the kernel NTFS (which doesn't provide full RW). I tried with RC1 and Gnome: it works! But under KDE 4.0 & 3.5 it fails. :-(((( Jun 1 15:07:42 linux-gfvz klogd: usb 1-4: new high speed USB device using ehci_hcd and address 2 Jun 1 15:07:42 linux-gfvz klogd: usb 1-4: configuration #1 chosen from 1 choice Jun 1 15:07:42 linux-gfvz klogd: usb 1-4: New USB device found, idVendor=04cf, idProduct=8818 Jun 1 15:07:42 linux-gfvz klogd: usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Jun 1 15:07:42 linux-gfvz klogd: usb 1-4: Product: USB Mass Storage Device Jun 1 15:07:42 linux-gfvz klogd: usb 1-4: Manufacturer: Myson Century, Inc. Jun 1 15:07:42 linux-gfvz klogd: Initializing USB Mass Storage driver... Jun 1 15:07:42 linux-gfvz klogd: scsi6 : SCSI emulation for USB Mass Storage devices Jun 1 15:07:42 linux-gfvz klogd: usbcore: registered new interface driver usb-storage Jun 1 15:07:42 linux-gfvz klogd: USB Mass Storage support registered. Jun 1 15:07:42 linux-gfvz klogd: usb-storage: device found at 2 Jun 1 15:07:42 linux-gfvz klogd: usb-storage: waiting for device to settle before scanning Jun 1 15:07:43 linux-gfvz klogd: scsi 6:0:0:0: Direct-Access SAMSUNG SP1614N TM10 PQ: 0 ANSI: 0 CCS Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: [sdc] 312581808 512-byte hardware sectors (160042 MB) Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: [sdc] Write Protect is off Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: [sdc] Mode Sense: 00 14 00 00 Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: [sdc] Assuming drive cache: write through Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: [sdc] 312581808 512-byte hardware sectors (160042 MB) Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: [sdc] Write Protect is off Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: [sdc] Mode Sense: 00 14 00 00 Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: [sdc] Assuming drive cache: write through Jun 1 15:07:43 linux-gfvz klogd: sdc: sdc1 < sdc5 > Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: [sdc] Attached SCSI disk Jun 1 15:07:43 linux-gfvz klogd: sd 6:0:0:0: Attached scsi generic sg3 type 0 Jun 1 15:07:43 linux-gfvz klogd: usb-storage: device scan complete Jun 1 15:07:45 linux-gfvz ntfs-3g[28661]: Version 1.2506 integrated FUSE 27 Jun 1 15:07:45 linux-gfvz ntfs-3g[28661]: Mounted /dev/sdc5 (Read-Write, label "160USB", NTFS 3.1) Jun 1 15:07:45 linux-gfvz ntfs-3g[28661]: Cmdline options: rw,nosuid,nodev,locale=de_DE.UTF-8 Jun 1 15:07:45 linux-gfvz ntfs-3g[28661]: Mount options: rw,nosuid,nodev,silent,allow_other,nonempty,relatime,fsname=/dev/sdc5,blkdev,blksize=4096 Jun 1 15:07:45 linux-gfvz hald: mounted /dev/sdc5 on behalf of uid 1000 I am not sure if this is a bug or a feature, but NTFS write as a regular user is not possible even with non-hotpluggable disk. Only as root. (behaviour noticed on RC1) Why regular user cannot use read.write mode :( ... ? O_o openSUSE 11 RC1, still the same problem under KDE 3,5 Konqueror sais: __________________ mount: wrong fs type, bad option, bad superblock on /dev/sdd2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so dmesg | tail __________________ dmesg | tail sd 4:0:0:0: [sdd] Attached SCSI disk sd 4:0:0:0: Attached scsi generic sg4 type 0 usb-storage: device scan complete NTFS driver 2.1.29 [Flags: R/W MODULE]. NTFS-fs error (device sdd2): parse_options(): Unrecognized mount option locale. NTFS-fs warning (device sdd2): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel. XFS mounting filesystem sdd3 Ending clean XFS mount for filesystem: sdd3 NTFS-fs error (device sdd2): parse_options(): Unrecognized mount option locale. NTFS-fs warning (device sdd2): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel. ???????????? :( Created attachment 219609 [details]
Yast logs
I was trying mount the device using paritioning tool: "users,gid=users,fmask=133,dmask=022,locale=pl_PL.UTF-8" see the attachment.... it cant mount the system. It works with changing one thing (adding at the begining of the line) "force,users,gid=users,fmask=133,dmask=022,locale=pl_PL.UTF-8" but stil for a user its only read mode :( Created attachment 219612 [details]
yast-partitioning-error
Created attachment 219613 [details]
y2logs-partitioning-error
*** Bug 398242 has been marked as a duplicate of this bug. *** same for 11.0 GM. (tested with KDE 3.5) (changed "Found in Version" from RC1 to Final) confirm - root and user cannot mount ntfs with wrtie mode KDE4 not sure if it was already said, anyway also in Final is non mounting the USB drive: (my disk has two partitions) Jun 22 22:38:50 andromeda kernel: usb 2-3: new high speed USB device using ehci_hcd and address 13 Jun 22 22:38:50 andromeda kernel: usb 2-3: configuration #1 chosen from 1 choice Jun 22 22:38:50 andromeda kernel: scsi7 : SCSI emulation for USB Mass Storage devices Jun 22 22:38:50 andromeda kernel: usb 2-3: New USB device found, idVendor=04b4, idProduct=6830 Jun 22 22:38:50 andromeda kernel: usb 2-3: New USB device strings: Mfr=56, Product=78, SerialNumber=100 Jun 22 22:38:50 andromeda kernel: usb 2-3: Product: USB2.0 Storage Device Jun 22 22:38:50 andromeda kernel: usb 2-3: Manufacturer: Cypress Semiconductor Jun 22 22:38:50 andromeda kernel: usb 2-3: SerialNumber: DEF107679C83 Jun 22 22:38:50 andromeda kernel: usb-storage: device found at 13 Jun 22 22:38:50 andromeda kernel: usb-storage: waiting for device to settle before scanning Jun 22 22:38:51 andromeda kernel: scsi 7:0:0:0: Direct-Access SAMSUNG SP2514N 0000 PQ: 0 ANSI: 0 Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: [sdc] 488397168 512-byte hardware sectors (250059 MB) Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: [sdc] Write Protect is off Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: [sdc] Mode Sense: 27 00 00 00 Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: [sdc] Assuming drive cache: write through Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: [sdc] 488397168 512-byte hardware sectors (250059 MB) Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: [sdc] Write Protect is off Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: [sdc] Mode Sense: 27 00 00 00 Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: [sdc] Assuming drive cache: write through Jun 22 22:38:51 andromeda kernel: sdc: sdc1 sdc2 < sdc5 > Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: [sdc] Attached SCSI disk Jun 22 22:38:51 andromeda kernel: sd 7:0:0:0: Attached scsi generic sg3 type 0 Jun 22 22:38:51 andromeda kernel: usb-storage: device scan complete Jun 22 22:38:51 andromeda kernel: NTFS-fs error (device sdc1): parse_options(): Unrecognized mount option locale. Jun 22 22:38:51 andromeda kernel: NTFS-fs warning (device sdc1): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel. Jun 22 22:38:52 andromeda kernel: NTFS-fs error (device sdc5): parse_options(): Unrecognized mount option locale. Jun 22 22:38:52 andromeda kernel: NTFS-fs warning (device sdc5): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel. Jun 22 22:39:04 andromeda kernel: NTFS-fs error (device sdc1): parse_options(): Unrecognized mount option locale. Jun 22 22:39:04 andromeda kernel: NTFS-fs warning (device sdc1): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel. Jun 22 22:39:18 andromeda kernel: usb 2-3: USB disconnect, address 13 I forgot to say that I am using openSUSE 11.0 with KDE 3.5. Is this bug only about ntfs hotplugging or also about "normal" ntfs partitions? I have the same issue with a local ntfs partition, which is not writeable for users, root does however work. Working: /dev/disk/by-id/scsi-SATA_FUJITSU_MHV2120_NWADT68269KU-part2 /windows/D ntfs-3g user,users,gid=users,umask=0002,locale=de_DE.UTF-8 0 0 Default fstab-entry set-up during installation, which does not work, even if rw is added. /dev/disk/by-id/scsi-SATA_FUJITSU_MHV2120_NWADT68269KU-part3 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=de_DE.UTF-8 0 0 I know those are not the same partitions, yet their settings were exactly the same before I changed them. FYI the windows ntfs partition I have that is on the local hard drive is mounted OK (set up during installation) so it would likely be hotplug, plus we CAN mount the drive manually which happens I am doing right now :) It does not work for me. Could you please post your fstab line that does work for a local ntfs, to be mounted user-writeable during boot? /dev/disk/by-id/scsi-SATA_ST9200420AS_5SH05DXN-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 Apologies, I misread your mail, mine does not write mounted as the user by default either, from memory this bug was about automounting ntfs, not whether it was writable or not so I made the assumption. Possibly may need to log a seperate bug for that. just a summary: hotplugging of a NTFS drive under 11.0 final - KDE 3.5: no read or write, due to NTFS-3G error message (see top of bug report) - KDE 4.0: only read, because kernel ntfs driver is used - GNOME: read and write possible and NTFS-3G is used possible workaround, but I didn't test it: http://forums.opensuse.org/hardware/385659-external-usb-drives-2.html#post1817092 second workaround: (as root) mount -t ntfs-3g /dev/sdc /home/dom/a1 :-( (In reply to comment #33 from Dominik Platz) > just a summary: > hotplugging of a NTFS drive under 11.0 final > - KDE 3.5: no read or write, due to NTFS-3G error message (see top of bug > report) All the "NTFS-fs ..." messages are from the kernel. The ntfs-3g messages are either printed to the console before and during mount, or to the syslog (/var/log/messages, etc) with "ntfs-3g" prefixed every line after mount. > - KDE 4.0: only read, because kernel ntfs driver is used > - GNOME: read and write possible and NTFS-3G is used > > possible workaround, but I didn't test it: > http://forums.opensuse.org/hardware/385659-external-usb-drives-2.html#post1817092 Yes, this is what people use as a workaround and it seems to work fine. I'm using OpenSuSE 11 KDE4 4.1RC1 and having the same issue. I used ln -s to do linking AND also ran ntfs-config utility. At this point I've just unchecked write support (!?) and here it is - the external HDD mounts perfectly. It's a mystery! *** Bug 293433 has been marked as a duplicate of this bug. *** Should be completely fixed with the latest ntfs-3g package that I submitted. Keeping the bug open to be sure that the package will be accepted. Package got accepted. Please reopen if this is still broken in beta 4. broken again in beta5 and RC1 of 11.1 this bug might be closed again because of duplicate of https://bugzilla.novell.com/show_bug.cgi?id=442178 Dominik: well, let's not reopen this bug and just use bug #442178. This bug was about tracking stuff in ntfs-3g to make this work. Bug #442178 is about fixing hal. |