← Back to team overview

kernel-packages team mailing list archive

[Bug 300805] Re: usb hard drive does not enter standby mode before shutdown

 

Vu Ngoc San, this bug was reported a while ago and there hasn't been any
activity in it recently. We were wondering if this is still an issue? If
so, could you please test for this with the latest development release
of Ubuntu? ISO images are available from http://cdimage.ubuntu.com
/daily-live/current/ .

If it remains an issue, could you please run the following command in
the development release from a Terminal
(Applications->Accessories->Terminal), as it will automatically gather
and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

** Tags added: intrepid needs-kernel-logs

** Description changed:

  I'm testing the new intrepid (kubuntu)
  
  I have a USB external hard drive connected to my laptop, and I think
  linux is supposed to make hard drives go to sleep (standby mode) before
  turning the power off. Apparently it does not for the USB drive, since I
  can hear an unpleasant 'click' when the laptop powers off.
  
  (It's the same click when you turn off a laptop by pressing the power
  button for a long time, in case everything hangs)
  
  I'm quite afraid it could damage the hard drive if repeated frequently.
  
- Of course I could do sleep the HD manually by hdparm -Y /dev/sdb but
- it's impossible for me because I would like to boot ubuntu on this
- volume, so the hard drive is needed until the last operation.
- 
- Ubuntu 8.10
- linux-image-generic:
-   Installé : 2.6.27.7.11
+ Of course I could do sleep the HD manually by hdparm -Y /dev/sdb but it's impossible for me because I would like to boot ubuntu on this volume, so the hard drive is needed until the last operation.
+ Architecture: amd64
+ ArecordDevices:
+  **** List of CAPTURE Hardware Devices ****
+  card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
+    Subdevices: 2/2
+    Subdevice #0: subdevice #0
+    Subdevice #1: subdevice #1
+ AudioDevicesInUse:
+  USER PID ACCESS COMMAND
+  /dev/snd/controlC0: ubuntu 4251 F.... knotify4
+                       ubuntu 4299 F.... kmix
+ CRDA: Error: [Errno 2] No such file or directory
+ Card0.Amixer.info:
+  Card hw:0 'Intel'/'HDA Intel at 0xf6dfc000 irq 21'
+    Mixer name : 'SigmaTel STAC9205'
+    Components : 'HDA:838476a0,102801f9,00100204 HDA:14f12c06,14f1000f,00100000'
+    Controls : 25
+    Simple ctrls : 16
+ DistroRelease: Ubuntu 9.10
+ LiveMediaBuild: Kubuntu 9.10 "Karmic Koala" - Alpha amd64 (20090903)
+ MachineType: Dell Inc. Latitude D630
+ Package: linux (not installed)
+ PccardctlIdent:
+  Socket 0:
+    no product info available
+ PccardctlStatus:
+  Socket 0:
+    no card
+ ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/kubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=fr console-setup/layoutcode?=fr console-setup/variantcode?=oss
+ ProcEnviron:
+  SHELL=/bin/bash
+  LANG=fr_FR.UTF-8
+  LANGUAGE=
+ ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
+ RelatedPackageVersions:
+  linux-backports-modules-2.6.31-9-generic N/A
+  linux-firmware 1.16
+ Uname: Linux 2.6.31-9-generic x86_64
+ UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
+ dmi.bios.date: 07/28/2008
+ dmi.bios.vendor: Dell Inc.
+ dmi.bios.version: A13
+ dmi.board.vendor: Dell Inc.
+ dmi.chassis.type: 8
+ dmi.chassis.vendor: Dell Inc.
+ dmi.modalias: dmi:bvnDellInc.:bvrA13:bd07/28/2008:svnDellInc.:pnLatitudeD630:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
+ dmi.product.name: Latitude D630
+ dmi.sys.vendor: Dell Inc.

** Tags added: karmic

** Tags added: bios-outdated-a19

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

-- 
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/300805

Title:
  usb hard drive does not enter standby mode before shutdown

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  I'm testing the new intrepid (kubuntu)

  I have a USB external hard drive connected to my laptop, and I think
  linux is supposed to make hard drives go to sleep (standby mode)
  before turning the power off. Apparently it does not for the USB
  drive, since I can hear an unpleasant 'click' when the laptop powers
  off.

  (It's the same click when you turn off a laptop by pressing the power
  button for a long time, in case everything hangs)

  I'm quite afraid it could damage the hard drive if repeated
  frequently.

  Of course I could do sleep the HD manually by hdparm -Y /dev/sdb but it's impossible for me because I would like to boot ubuntu on this volume, so the hard drive is needed until the last operation.
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
     Subdevices: 2/2
     Subdevice #0: subdevice #0
     Subdevice #1: subdevice #1
  AudioDevicesInUse:
   USER PID ACCESS COMMAND
   /dev/snd/controlC0: ubuntu 4251 F.... knotify4
                        ubuntu 4299 F.... kmix
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf6dfc000 irq 21'
     Mixer name : 'SigmaTel STAC9205'
     Components : 'HDA:838476a0,102801f9,00100204 HDA:14f12c06,14f1000f,00100000'
     Controls : 25
     Simple ctrls : 16
  DistroRelease: Ubuntu 9.10
  LiveMediaBuild: Kubuntu 9.10 "Karmic Koala" - Alpha amd64 (20090903)
  MachineType: Dell Inc. Latitude D630
  Package: linux (not installed)
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/kubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=fr console-setup/layoutcode?=fr console-setup/variantcode?=oss
  ProcEnviron:
   SHELL=/bin/bash
   LANG=fr_FR.UTF-8
   LANGUAGE=
  ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
  RelatedPackageVersions:
   linux-backports-modules-2.6.31-9-generic N/A
   linux-firmware 1.16
  Uname: Linux 2.6.31-9-generic x86_64
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
  dmi.bios.date: 07/28/2008
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A13
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA13:bd07/28/2008:svnDellInc.:pnLatitudeD630:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: Latitude D630
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/300805/+subscriptions