[Pkg-utopia-maintainers] Bug#583725: udisks: detach / safe removal fails on Maxtor Basics Desktop USB hard drive

Paul Wise pabs at debian.org
Sun May 30 04:15:33 UTC 2010


Package: udisks
Version: 1.0.1-1
Severity: normal

When I attempt to use the "Safely Remove Drive" option in nautilus or
"Safe Removal" in palimpset, I get an error. The drive is unmounted fine
though. The drive is a "Maxtor Basics Desktop" USB hard drive. I'm
guessing it is just a SATA hard drive with a USB adaptor packaged up
tightly so I can't open it. I've included the error and information from
lsusb below. Looking at Google this seems to be a very common issue,
probably caused by a deficiency in various USB devices. IMO udisks
should handle the situation and display a less cryptic warning or
display no error/warning at all.

Error detaching: helper exited with exit code 1: Detaching device /dev/sdb
USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3)
SYNCHRONIZE CACHE: OK
STOP UNIT: FAILED: No such file or directory

pabs at chianamo:~$ udisks --detach /dev/sdb
Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb
USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3)
SYNCHRONIZE CACHE: OK
STOP UNIT: FAILED: No such file or directory

pabs at chianamo:~$ sudo udisks --detach /dev/sdb
[sudo] password for pabs: 
Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb
USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3)
SYNCHRONIZE CACHE: OK
STOP UNIT: FAILED: No such file or directory

pabs at chianamo:~$ sudo lsusb -vvvvvd 0d49:7410
Bus 001 Device 003: ID 0d49:7410 Maxtor Mobile Hard Disk Drive (1TB)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0d49 Maxtor
  idProduct          0x7410 Mobile Hard Disk Drive (1TB)
  bcdDevice            1.22
  iManufacturer           1 Maxtor  
  iProduct                2 Basics Desktop  
  iSerial                 3 2HBEYHCG    
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udisks depends on:
ii  dbus                  1.2.24-1           simple interprocess messaging syst
ii  libatasmart4          0.17+git20100219-1 ATA S.M.A.R.T. reading and parsing
ii  libc6                 2.10.2-9           Embedded GNU C Library: Shared lib
ii  libdbus-1-3           1.2.24-1           simple interprocess messaging syst
ii  libdbus-glib-1-2      0.86-1             simple interprocess messaging syst
ii  libdevmapper1.02.1    2:1.02.45-1        The Linux Kernel Device Mapper use
ii  libglib2.0-0          2.24.1-1           The GLib library of C routines
ii  libgudev-1.0-0        154-1              GObject-based wrapper library for 
ii  libparted0debian1     2.2-5              The GNU Parted disk partitioning s
ii  libpolkit-backend-1-0 0.96-2             PolicyKit backend API
ii  libpolkit-gobject-1-0 0.96-2             PolicyKit Authorization API
ii  libsgutils2-2         1.29-1             utilities for devices using the SC
ii  libudev0              154-1              libudev shared library
ii  udev                  154-1              /dev/ and hotplug management daemo

Versions of packages udisks recommends:
ii  dosfstools                  3.0.9-1      utilities for making and checking 
ii  hdparm                      9.27-2       tune hard disk parameters for high
ii  mtools                      4.0.12-1     Tools for manipulating MSDOS files
ii  ntfs-3g                     1:2010.3.6-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.96-2       framework for managing administrat

Versions of packages udisks suggests:
ii  cryptsetup                   2:1.1.0-2.1 configures encrypted block devices
pn  mdadm                        <none>      (no description available)
ii  reiserfsprogs                1:3.6.21-1  User-level tools for ReiserFS file
ii  xfsprogs                     3.1.2       Utilities for managing the XFS fil

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20100530/904ac2df/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list