[Pkg-utopia-maintainers] Bug#627280: udisks: Sansa Fuze Detected with Garbage Volume Label

Leo L. Schwab ewhac at ewhac.org
Thu May 19 08:43:48 UTC 2011


Package: udisks
Version: 1.0.2-4
Severity: normal

	I can't remember exactly when this stopped working, only that I
remember a time when it did work.  At some point 'udisks' get updated and
now my Sansa Fuze is detected with a garbage volume label.  Windows and Mac
OS X detect this device correctly.

	Here's the dmesg output on insertion:

----
hub 1-0:1.0: unable to enumerate USB device on port 2
usb 1-2: new high speed USB device number 5 using ehci_hcd
usb 1-2: New USB device found, idVendor=0781, idProduct=74c3
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: SanDisk Sansa Fuze
usb 1-2: Manufacturer: SanDisk
usb 1-2: SerialNumber: 870DFE122842B6A80000000000000000
usbcore: registered new interface driver uas
Initializing USB Mass Storage driver...
scsi6 : usb-storage 1-2:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 6:0:0:0: Direct-Access     SanDisk  Sansa Fuze 4GB   v02. PQ: 0 ANSI: 0
scsi 6:0:0:1: Direct-Access     SanDisk  Sansa Fuze 4GB   v02. PQ: 0 ANSI: 0
sd 6:0:0:0: Attached scsi generic sg2 type 0
sd 6:0:0:1: Attached scsi generic sg3 type 0
sd 6:0:0:0: [sdb] 7683072 512-byte logical blocks: (3.93 GB/3.66 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 04 00 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sdb:
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Attached SCSI removable disk
sd 6:0:0:1: [sdc] Attached SCSI removable disk
----

	And here's the output for 'udisks --dump | less' for devices /dev/sdb
and /dev/sdc.  Note the garbage value for "label" on /dev/sdb, which is a
string of literal CTRL-N characters:

----
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb
  native-path:                 /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb
  device:                      8:16
  device-file:                 /dev/sdb
    presentation:              /dev/sdb
    by-id:                     /dev/disk/by-id/usb-SanDisk_Sansa_Fuze_4GB_870DFE122842B6A80000000000000000-0:0
    by-id:                     /dev/disk/by-uuid/0123-4567
    by-path:                   /dev/disk/by-path/pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0
  detected at:                 Thu 19 May 2011 01:29:17 AM PDT
  system internal:             0
  removable:                   1
  has media:                   1 (detected at Thu 19 May 2011 01:29:17 AM PDT)
    detects change:            1
    detection by polling:      1
    detection inhibitable:     1
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        3933732864
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        vfat
  version:                     FAT32
  uuid:                        0123-4567
  label:                       ^N^N^N^N^N^N^N^N^N^N^N
  drive:
    vendor:                    SanDisk
    model:                     Sansa Fuze 4GB
    revision:                  v02.
    serial:                    870DFE122842B6A80000000000000000
    WWN:                       
    detachable:                1
    can spindown:              0
    rotational media:          Yes, unknown rate
    write-cache:               unknown
    ejectable:                 0
    adapter:                   Unknown
    ports:
    similar devices:
    media:                     
      compat:                 
    interface:                 usb
    if speed:                  480000000 bits/s
    ATA SMART:                 not available

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdc
  native-path:                 /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host6/target6:0:0/6:0:0:1/block/sdc
  device:                      8:32
  device-file:                 /dev/sdc
    presentation:              /dev/sdc
    by-id:                     /dev/disk/by-id/usb-SanDisk_Sansa_Fuze_4GB_870DFE122842B6A80000000000000000-0:1
    by-path:                   /dev/disk/by-path/pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:1
  detected at:                 Thu 19 May 2011 01:29:17 AM PDT
  system internal:             0
  removable:                   1
  has media:                   0
    detects change:            1
    detection by polling:      1
    detection inhibitable:     1
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        0
  block size:                  0
  job underway:                no
  usage:                       
  type:                        
  version:                     
  uuid:                        
  label:                       
  drive:
    vendor:                    SanDisk
    model:                     Sansa Fuze 4GB
    revision:                  v02.
    serial:                    870DFE122842B6A80000000000000000
    WWN:                       
    detachable:                1
    can spindown:              0
    rotational media:          Yes, unknown rate
    write-cache:               unknown
    ejectable:                 0
    adapter:                   Unknown
    ports:
    similar devices:
    media:                     
      compat:                 
    interface:                 usb
    if speed:                  480000000 bits/s
    ATA SMART:                 not available

----

	Please investigate this matter.

					Schwab

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-rc7 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udisks depends on:
ii  dbus                  1.4.8-3            simple interprocess messaging syst
ii  libatasmart4          0.17+git20100219-3 ATA S.M.A.R.T. reading and parsing
ii  libc6                 2.13-2             Embedded GNU C Library: Shared lib
ii  libdbus-1-3           1.4.8-3            simple interprocess messaging syst
ii  libdbus-glib-1-2      0.92-1             simple interprocess messaging syst
ii  libdevmapper1.02.1    2:1.02.63-3        The Linux Kernel Device Mapper use
ii  libglib2.0-0          2.28.6-1           The GLib library of C routines
ii  libgudev-1.0-0        168-2              GObject-based wrapper library for 
ii  liblvm2app2.2         2.02.84-2          LVM2 application library
ii  libparted0debian1     2.3-5              The GNU Parted disk partitioning s
ii  libpolkit-backend-1-0 0.99-3             PolicyKit backend API
ii  libpolkit-gobject-1-0 0.101-4            PolicyKit Authorization API
ii  libsgutils2-2         1.31-1             utilities for devices using the SC
ii  libudev0              168-2              libudev shared library
ii  udev                  168-2              /dev/ and hotplug management daemo

Versions of packages udisks recommends:
ii  dosfstools               3.0.9-1         utilities for making and checking 
ii  hdparm                   9.32-1          tune hard disk parameters for high
ii  mtools                   4.0.12-1        Tools for manipulating MSDOS files
ii  ntfs-3g                  1:2011.1.15-0.1 read-write NTFS driver for FUSE
ii  ntfsprogs                2.0.0-1+b1      tools for doing neat things in NTF
ii  policykit-1              0.99-3          framework for managing administrat

Versions of packages udisks suggests:
pn  cryptsetup                    <none>     (no description available)
pn  mdadm                         <none>     (no description available)
pn  reiserfsprogs                 <none>     (no description available)
ii  xfsprogs                      3.1.5      Utilities for managing the XFS fil

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list