0bc2:ab10 [Lenovo IdeaPad Y510P] USB 3.0 HDD connected to USB 3.0 port won't power off after unmounting

Bug #1401980 reported by Doug McMahon
16
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Other than shutting down or pulling the cord out.
May not be a kernel bug, didn't know otherwise..

Test case:
boot up, log in
attach a usb 3 hdd ( one without external power) to a usb 3 port
The option to "Safely Remove" will be available in nautilus & unity launcher icon, click on it

What happens:
Drive is unmounted, momentarily powered off & then re-powered on ( takes less than a sec.
What should happen:
drive should be powered off & stay off until re-attached

If one connects the drive to a usb 2 port then it will power down

To further confuse -
If one boots up with the device connected or connecting after login then doing log out/in there is no longer a Safely remove option, only mount or unmount

At no time does udisksctl power-off -b /path/to actually work, it acts like first scenario, quickly powered off then right back on.

Whether useful don't know-

Drive(4): ST500LT012-1DG142
  Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
  ids:
   unix-device: '/dev/sdd'
  themed icons: [drive-harddisk-usb] [drive-harddisk] [drive]
  symbolic themed icons: [drive-harddisk-usb-symbolic] [drive-harddisk-symbolic] [drive-symbolic] [drive-harddisk-usb] [drive-harddisk] [drive]
  is_media_removable=0
  has_media=1
  is_media_check_automatic=1
  can_poll_for_media=0
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=shutdown
  sort_key=01hotplug/1418402194745573
  Volume(0): backup
    Type: GProxyVolume (GProxyVolumeMonitorUDisks2)
    ids:
     class: 'device'
     unix-device: '/dev/sdd1'
     uuid: '6b1c17a9-f65d-4926-96f8-73702c001b43'
     label: 'backup'
    themed icons: [drive-harddisk-usb] [drive-harddisk] [drive]
    symbolic themed icons: [drive-harddisk-usb-symbolic] [drive-harddisk-symbolic] [drive-symbolic] [drive-harddisk-usb] [drive-harddisk] [drive]
    can_mount=1
    can_eject=0
    should_automount=1
    sort_key=gvfs.time_detected_usec.1418402460356605
    Mount(0): backup -> file:///media/doug/backup
      Type: GProxyMount (GProxyVolumeMonitorUDisks2)
      default_location=file:///media/doug/backup
      themed icons: [drive-harddisk-usb] [drive-harddisk] [drive]
      symbolic themed icons: [drive-harddisk-usb-symbolic] [drive-harddisk-symbolic] [drive-symbolic] [drive-harddisk-usb] [drive-harddisk] [drive]
      can_unmount=1
      can_eject=0
      is_shadowed=0
      sort_key=gvfs.time_detected_usec.1418402460358648

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.16.0-25-generic 3.16.0-25.33
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Uname: Linux 3.16.0-25-generic x86_64
ApportVersion: 2.15-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: doug 2162 F.... pulseaudio
 /dev/snd/controlC1: doug 2162 F.... pulseaudio
CurrentDesktop: Unity
Date: Fri Dec 12 11:42:32 2014
InstallationDate: Installed on 2014-11-16 (26 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141114)
MachineType: LENOVO 20217
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-25-generic.efi.signed root=UUID=91a821ed-7160-439b-8519-939faa93bf90 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-25-generic N/A
 linux-backports-modules-3.16.0-25-generic N/A
 linux-firmware 1.139
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/18/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: 74CN44WW(V3.05)
dmi.board.asset.tag: No Asset Tag
dmi.board.name: VIQY0Y1
dmi.board.vendor: LENOVO
dmi.board.version: 31900058STD
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo IdeaPad Y510P
dmi.modalias: dmi:bvnLENOVO:bvr74CN44WW(V3.05):bd09/18/2013:svnLENOVO:pn20217:pvrLenovoIdeaPadY510P:rvnLENOVO:rnVIQY0Y1:rvr31900058STD:cvnLENOVO:ct10:cvrLenovoIdeaPadY510P:
dmi.product.name: 20217
dmi.product.version: Lenovo IdeaPad Y510P
dmi.sys.vendor: LENOVO

Revision history for this message
Doug McMahon (mc3man) wrote :
tags: added: trusty
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Doug McMahon (mc3man)
description: updated
penalvch (penalvch)
tags: added: latest-bios-3.05
Revision history for this message
penalvch (penalvch) wrote : Re: Usb 3 hdd drives cannot be powered off in any manner

Doug McMahon, thank you for reporting this and helping make Ubuntu better. Could you please execute the following in a terminal:
sudo hdparm -I dev/sdX

where X is replaced with the letter corresponding to your external drive.

Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Doug McMahon (mc3man) wrote :
Download full text (3.2 KiB)

/dev/sdd:

ATA device, with non-removable media
 Model Number: ST500LT012-1DG142
 Serial Number: S3P8W8YR
 Firmware Revision: 0001SDM1
 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
 Used: unknown (minor revision code 0x0029)
 Supported: 8 7 6 5
 Likely used: 8
Configuration:
 Logical max current
 cylinders 16383 16383
 heads 16 16
 sectors/track 63 63
 --
 CHS current addressable sectors: 16514064
 LBA user addressable sectors: 268435455
 LBA48 user addressable sectors: 976773168
 Logical Sector size: 512 bytes
 Physical Sector size: 4096 bytes
 Logical Sector-0 offset: 0 bytes
 device size with M = 1024*1024: 476940 MBytes
 device size with M = 1000*1000: 500107 MBytes (500 GB)
 cache/buffer size = unknown
 Form Factor: 2.5 inch
 Nominal Media Rotation Rate: 5400
Capabilities:
 LBA, IORDY(can be disabled)
 Queue depth: 32
 Standby timer values: spec'd by Standard, no device specific minimum
 R/W multiple sector transfer: Max = 16 Current = 16
 Advanced power management level: 128
 Recommended acoustic management value: 208, current value: 0
 DMA: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4 udma5 udma6
      Cycle time: min=120ns recommended=120ns
 PIO: pio0 pio1 pio2 pio3 pio4
      Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
 Enabled Supported:
    * SMART feature set
      Security Mode feature set
    * Power Management feature set
    * Write cache
    * Look-ahead
    * Host Protected Area feature set
    * WRITE_BUFFER command
    * READ_BUFFER command
    * NOP cmd
    * DOWNLOAD_MICROCODE
    * Advanced Power Management feature set
      Power-Up In Standby feature set
    * SET_FEATURES required to spinup after power up
      SET_MAX security extension
    * 48-bit Address feature set
    * Device Configuration Overlay feature set
    * Mandatory FLUSH_CACHE
    * FLUSH_CACHE_EXT
    * SMART error logging
    * SMART self-test
    * General Purpose Logging feature set
    * WRITE_{DMA|MULTIPLE}_FUA_EXT
    * 64-bit World wide name
    * IDLE_IMMEDIATE with UNLOAD
    * Write-Read-Verify feature set
    * WRITE_UNCORRECTABLE_EXT command
    * {READ,WRITE}_DMA_EXT_GPL commands
    * Segmented DOWNLOAD_MICROCODE
    * Gen1 signaling speed (1.5Gb/s)
    * Gen2 signaling speed (3.0Gb/s)
    * Gen3 signaling speed (6.0Gb/s)
    * Native Command Queueing (NCQ)
    * Host-initiated interface power management
    * Phy event counters
    * Idle-Unload when NCQ is active
    * READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
      Device-initiated interface power management
    * Software settings preservation
    * SMART Command Transport (SCT) feature set
    * SCT Write Same (AC2)
    * SCT Features Control (AC4)
    * SCT Data Tables (AC5)
      unknown 206[12] (vendor specific)
Security:
 Master password revision code = 65534
  supported
 not enabled
 not locked
 not frozen
 not expired: security count
  supported: enhanced erase
 98min for SECURITY ERASE UNIT. 98min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WW...

Read more...

Revision history for this message
penalvch (penalvch) wrote :

Doug McMahon, what is the manufacturer and model of the USB hard drive from the sticker (not from the comment)?

Revision history for this message
Doug McMahon (mc3man) wrote : Re: [Bug 1401980] Re: Usb 3 hdd drives cannot be powered off in any manner

On 12/13/2014 03:43 PM, Christopher M. Penalver wrote:
> Doug McMahon, what is the manufacturer and model of the USB hard drive
> from the sticker (not from the comment)?
>
Seagate PN-1e7ana-501 (500 GB) on back of drive
http://www.seagate.com/external-hard-drives/portable-hard-drives/standard/backup-plus/

I believe the described behaviour would happen with any of the portable
usb 3 drives that power from the usb port

Revision history for this message
penalvch (penalvch) wrote : Re: Usb 3 hdd drives cannot be powered off in any manner

Doug McMahon, did you reformat the drive first before using it, or did you just pull it out of the box and begin using it?

Revision history for this message
Doug McMahon (mc3man) wrote : Re: [Bug 1401980] Re: Usb 3 hdd drives cannot be powered off in any manner

On 12/13/2014 04:44 PM, Christopher M. Penalver wrote:
> Doug McMahon, did you reformat the drive first before using it, or did
> you just pull it out of the box and begin using it?
>
Formatted
created a 30gb partition in ext4 to hold some files @ current
permissions, the rest of the drive is currently free

Revision history for this message
penalvch (penalvch) wrote : Re: Usb 3 hdd drives cannot be powered off in any manner

Doug McMahon, did this problem not occur in a release prior to Trusty?

Revision history for this message
Doug McMahon (mc3man) wrote : Re: [Bug 1401980] Re: Usb 3 hdd drives cannot be powered off in any manner

On 12/14/2014 12:10 AM, Christopher M. Penalver wrote:
> Doug McMahon, did this problem not occur in a release prior to Trusty?
>
I did not personally have a usb 3 external hdd prior to 14.04
There are quite a number of bug reports concerning the 'auto remounting'
of usb hdd drives going back quite some time. One example -
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085

The points here are -
Only happens with usb 3 hdd's
Only happens with usb 3 when attached to a usb 3 port
The option's on these drives aren't consistent -
   Safely Remove only when attaching after login (- this option fails
it's purpose
   Unmount only when booting up with drive attached or after a log out
in with drive attached (- this option works
And there is no way to power of the device when attached to a usb 3 port
(other than going to suspend), windows & mac's can.

Revision history for this message
penalvch (penalvch) wrote : Re: Usb 3 hdd drives cannot be powered off in any manner

Doug McMahon, just to clarify, the scope of this report is only:
>"Drive is unmounted, momentarily powered off & then re-powered on ( takes less than a sec. What should happen: drive should be powered off & stay off until re-attached"

All the other issues would necessitate another report, one per issue.

Despite this, the issue you are reporting is an upstream one. Could you please report this problem to the appropriate mailing list (linux-usb) by following the instructions _verbatim_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked via http://vger.kernel.org/vger-lists.html .

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
summary: - Usb 3 hdd drives cannot be powered off in any manner
+ 0bc2:ab10 [Lenovo IdeaPad Y510P] USB 3.0 HDD connected to USB 3.0 port
+ cannot be powered off in any manner
summary: 0bc2:ab10 [Lenovo IdeaPad Y510P] USB 3.0 HDD connected to USB 3.0 port
- cannot be powered off in any manner
+ cannot be powered off after unmounting
summary: 0bc2:ab10 [Lenovo IdeaPad Y510P] USB 3.0 HDD connected to USB 3.0 port
- cannot be powered off after unmounting
+ won't power off after unmounting
Revision history for this message
陈伟琪 (gameboy709494) wrote :

I have encountered this problem too!! I will report that soon after my work.

Revision history for this message
陈伟琪 (gameboy709494) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.