Bug#432103: marked as done (hal: Gives unknown mount option flush when mounting an USB stick (vfat))
Your message dated Thu, 12 Jul 2007 12:08:57 +0200 with message-id [EMAIL PROTECTED] and subject line new kernel uploaded to testing fixes problem has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) ---BeginMessage--- Package: hal Version: 0.5.9.1-2 Severity: important Tags: patch I'm using KDE. When I plug in a vfat-formatted USB stick KDE tries to mount it, but Konqueror displays an error box with this message: mount: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so In the output of dmesg I find the following lines, the last indicating the error: usb 4-4: new high speed USB device using ehci_hcd and address 6 usb 4-4: configuration #1 chosen from 1 choice scsi3 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 6 usb-storage: waiting for device to settle before scanning Vendor: USB Model: DISK Pro Rev: 1100 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sda: 3963904 512-byte hdwr sectors (2030 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 00 sda: assuming drive cache: write through SCSI device sda: 3963904 512-byte hdwr sectors (2030 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 00 sda: assuming drive cache: write through sda: unknown partition table sd 3:0:0:0: Attached scsi removable disk sda usb-storage: device scan complete FAT: Unrecognized mount option flush or missing value Mounting the stick as root with the mount command works. The problems disappears when line 155 in /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi is commented out: !-- allow these mount options for vfat -- match key=volume.fstype string=vfat match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=Linux append key=volume.mount.valid_options type=strlistutf8/append append key=volume.mount.valid_options type=strlistshortname=/append append key=volume.mount.valid_options type=strlistcodepage=/append append key=volume.mount.valid_options type=strlistiocharset=/append append key=volume.mount.valid_options type=strlistumask=/append append key=volume.mount.valid_options type=strlistdmask=/append append key=volume.mount.valid_options type=strlistfmask=/append append key=volume.mount.valid_options type=strlistuid=/append !-- append key=volume.mount.valid_options type=strlistflush/append -- /match match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=FreeBSD append key=volume.mount.valid_options type=strlistlongnames/append append key=volume.mount.valid_options type=strlistshortnames/append append key=volume.mount.valid_options type=strlistnowin95/append append key=volume.mount.valid_options type=strlist-u=/append append key=volume.mount.valid_options type=strlist-g=/append append key=volume.mount.valid_options type=strlist-m=/append append key=volume.mount.valid_options type=strlist-M=/append append key=volume.mount.valid_options type=strlist-L=/append append key=volume.mount.valid_options type=strlist-D=/append /match /match After changing the file hald needs to be restarted. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages hal depends on: ii adduser 3.103Add and remove users and groups ii dbus1.1.1-1 simple interprocess messaging syst ii hal-info20070618-1 Hardware Abstraction Layer - fdi f ii libc6 2.5-9+b1 GNU C Library: Shared libraries ii libdbus-1-3 1.1.1-1 simple interprocess messaging syst ii libdbus-glib-1-20.73-2 simple interprocess messaging syst ii libexpat1 1.95.8-3.4 XML parsing C library - runtime li ii libgcc1 1:4.2-20070627-1 GCC support library ii libglib2.0-02.12.12-1The GLib library of C routines ii
Bug#432103: marked as done (hal: Gives unknown mount option flush when mounting an USB stick (vfat))
Your message dated Sun, 08 Jul 2007 17:12:36 +0200 with message-id [EMAIL PROTECTED] and subject line Bug#432103: hal: Gives unknown mount option flush when mounting an USB stick (vfat) has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) ---BeginMessage--- Package: hal Version: 0.5.9.1-2 Severity: important Tags: patch I'm using KDE. When I plug in a vfat-formatted USB stick KDE tries to mount it, but Konqueror displays an error box with this message: mount: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so In the output of dmesg I find the following lines, the last indicating the error: usb 4-4: new high speed USB device using ehci_hcd and address 6 usb 4-4: configuration #1 chosen from 1 choice scsi3 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 6 usb-storage: waiting for device to settle before scanning Vendor: USB Model: DISK Pro Rev: 1100 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sda: 3963904 512-byte hdwr sectors (2030 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 00 sda: assuming drive cache: write through SCSI device sda: 3963904 512-byte hdwr sectors (2030 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 00 sda: assuming drive cache: write through sda: unknown partition table sd 3:0:0:0: Attached scsi removable disk sda usb-storage: device scan complete FAT: Unrecognized mount option flush or missing value Mounting the stick as root with the mount command works. The problems disappears when line 155 in /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi is commented out: !-- allow these mount options for vfat -- match key=volume.fstype string=vfat match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=Linux append key=volume.mount.valid_options type=strlistutf8/append append key=volume.mount.valid_options type=strlistshortname=/append append key=volume.mount.valid_options type=strlistcodepage=/append append key=volume.mount.valid_options type=strlistiocharset=/append append key=volume.mount.valid_options type=strlistumask=/append append key=volume.mount.valid_options type=strlistdmask=/append append key=volume.mount.valid_options type=strlistfmask=/append append key=volume.mount.valid_options type=strlistuid=/append !-- append key=volume.mount.valid_options type=strlistflush/append -- /match match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=FreeBSD append key=volume.mount.valid_options type=strlistlongnames/append append key=volume.mount.valid_options type=strlistshortnames/append append key=volume.mount.valid_options type=strlistnowin95/append append key=volume.mount.valid_options type=strlist-u=/append append key=volume.mount.valid_options type=strlist-g=/append append key=volume.mount.valid_options type=strlist-m=/append append key=volume.mount.valid_options type=strlist-M=/append append key=volume.mount.valid_options type=strlist-L=/append append key=volume.mount.valid_options type=strlist-D=/append /match /match After changing the file hald needs to be restarted. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages hal depends on: ii adduser 3.103Add and remove users and groups ii dbus1.1.1-1 simple interprocess messaging syst ii hal-info20070618-1 Hardware Abstraction Layer - fdi f ii libc6 2.5-9+b1 GNU C Library: Shared libraries ii libdbus-1-3 1.1.1-1 simple interprocess messaging syst ii libdbus-glib-1-20.73-2 simple interprocess messaging syst ii libexpat1 1.95.8-3.4 XML parsing C library - runtime li ii libgcc1 1:4.2-20070627-1 GCC support library ii libglib2.0-02.12.12-1