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)

--- Begin Message ---
Package: hal
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 

     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 
is commented out:

      <!-- allow these mount options for vfat -->
      <match key="volume.fstype" string="vfat">
        <match key="/org/freedesktop/Hal/devices/" 
          <append key="volume.mount.valid_options" type="strlist">utf8</append>
          <append key="volume.mount.valid_options" 
          <append key="volume.mount.valid_options" 
          <append key="volume.mount.valid_options" 
          <append key="volume.mount.valid_options" 
          <append key="volume.mount.valid_options" 
          <append key="volume.mount.valid_options" 
          <append key="volume.mount.valid_options" type="strlist">uid=</append>
<!--      <append key="volume.mount.valid_options" 
type="strlist">flush</append> -->
        <match key="/org/freedesktop/Hal/devices/" 
          <append key="volume.mount.valid_options" 
          <append key="volume.mount.valid_options" 
          <append key="volume.mount.valid_options" 
          <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>

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.103            Add and remove users and groups
ii  dbus                    1.1.1-1          simple interprocess messaging syst
ii  hal-info                20070618-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-2        0.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-0            2.12.12-1        The GLib library of C routines
ii  libhal-storage1        Hardware Abstraction Layer - share
ii  libhal1               Hardware Abstraction Layer - share
ii  libsmbios1              0.13.6-1         Provide access to (SM)BIOS informa
ii  libstdc++6              4.2-20070627-1   The GNU Standard C++ Library v3
ii  libusb-0.1-4            2:0.1.12-7       userspace USB programming library
ii  libvolume-id0           0.105-4          libvolume_id shared library
ii  lsb-base                3.1-23.1         Linux Standard Base 3.1 init scrip
ii  pciutils                1:2.2.4~pre4-1   Linux PCI Utilities
ii  udev                    0.105-4          /dev/ and hotplug management daemo
ii  usbutils                0.72-8           Linux USB utilities

Versions of packages hal recommends:
ii  eject                         2.1.5-2    ejects CDs and operates CD-Changer

-- no debconf information

--- End Message ---
--- Begin Message ---
2.6.21 made its way into testing and so this bug and the proposed
patch become obsolete.


--- End Message ---

Reply via email to