kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #95782
[Bug 1401980] Re: Usb 3 hdd drives cannot be powered off in any manner
/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 WWN Device Identifier: 5000c50074dfa560
NAA : 5
IEEE OUI : 000c50
Unique ID : 074dfa560
Checksum: correct
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1401980
Title:
Usb 3 hdd drives cannot be powered off in any manner
Status in linux package in Ubuntu:
Incomplete
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1401980/+subscriptions
References