[Intel DP67BG] HDD waken up after resume

Bug #1245792 reported by vsespb
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Steps to Reproduce:
1. put additional SATA hdd into sleep mode (using hdparm -Y)
2. put the system into sleep mode
3. wake-up a system

Actual results:
hdd wakes up

Expected results:
not used hdd should stay sleeping

similar issue in RHEL https://bugzilla.redhat.com/show_bug.cgi?id=928745

I realize that this is probably "feature", but wondering if this behaviour can be "fixed".

==
Ubuntu 12.04
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.8.0-32-generic.
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: vse 2537 F.... pulseaudio
 /dev/snd/controlC0: vse 2537 F.... pulseaudio
 /dev/snd/controlC1: vse 2537 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf3520000 irq 58'
   Mixer name : 'Realtek ALC892'
   Components : 'HDA:10ec0892,80862007,00100302'
   Controls : 45
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'Headset'/'Logitech Logitech USB Headset at usb-0000:00:1a.0-1.6, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0a0c'
   Controls : 7
   Simple ctrls : 2
Card2.Amixer.info:
 Card hw:2 'NVidia'/'HDA NVidia at 0xf3000000 irq 16'
   Mixer name : 'Nvidia GPU 0a HDMI/DP'
   Components : 'HDA:10de000a,10de0101,00100100'
   Controls : 28
   Simple ctrls : 4
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=e94a6161-ec2d-44fb-8321-33f60c2aa3e5
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-32-generic root=UUID=af2aeba3-7287-4aa5-802d-029f301b94a6 ro quiet splash
ProcVersionSignature: Ubuntu 3.8.0-32.47~precise1-generic 3.8.13.10
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-32-generic N/A
 linux-backports-modules-3.8.0-32-generic N/A
 linux-firmware 1.79.7
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: precise
Uname: Linux 3.8.0-32-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 06/29/2011
dmi.bios.vendor: Intel Corp.
dmi.bios.version: BGP6710J.86A.2040.2011.0629.0142
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DP67BG
dmi.board.vendor: Intel Corporation
dmi.board.version: AAG10491-303
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrBGP6710J.86A.2040.2011.0629.0142:bd06/29/2011:svn:pn:pvr:rvnIntelCorporation:rnDP67BG:rvrAAG10491-303:cvn:ct3:cvr:

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1245792

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
vsespb (vsespb) wrote : AcpiTables.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
vsespb (vsespb) wrote : AlsaDevices.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : AplayDevices.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : ArecordDevices.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : BootDmesg.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Card0.Codecs.codec.2.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Card2.Amixer.values.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Card2.Codecs.codec.0.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Card2.Codecs.codec.1.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Card2.Codecs.codec.2.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Card2.Codecs.codec.3.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : CurrentDmesg.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : IwConfig.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Lspci.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : Lsusb.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : PciMultimedia.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : ProcEnviron.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : ProcInterrupts.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : ProcModules.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : UdevDb.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : UdevLog.txt

apport information

Revision history for this message
vsespb (vsespb) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → New
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
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: HDD waken up after resume

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.12 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc7-saucy/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
vsespb (vsespb) wrote :

Hello. I cannot test with 3.12 kernel. The only box with 2 HDD I have is a "production" box for me, and don't want to break it (I am worrying that new kernel *will* break something)

vsespb (vsespb)
tags: added: kernel-unable-to-test-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: bios-outdated-2209
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
summary: - HDD waken up after resume
+ [Intel DP67BG] HDD waken up after resume
tags: added: needs-lsusb-v
Revision history for this message
vsespb (vsespb) wrote :
Download full text (4.5 KiB)

instead of upgrading BIOS I installed intel-microcode - is this sufficient?
note that latest microcode version is older than latest DP67BG bios version.

# apt-cache policy intel-microcode
intel-microcode:
  Installed: 0.20130808-p-1ubuntu1
  Candidate: 0.20130808-p-1ubuntu1
  Version table:
 *** 0.20130808-p-1ubuntu1 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise-updates/multiverse amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/multiverse amd64 Packages
        100 /var/lib/dpkg/status
     0.20111110-1 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise/multiverse amd64 Packages
# apt-cache policy microcode.ctl
microcode.ctl:
  Installed: 1.17-13.1ubuntu2
  Candidate: 1.17-13.1ubuntu2
  Version table:
 *** 1.17-13.1ubuntu2 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise/multiverse amd64 Packages
        100 /var/lib/dpkg/status

dmesg|grep -i microcode

[ 0.060297] perf_event_intel: PEBS disabled due to CPU errata, please upgrade microcode
[ 11.734983] microcode: CPU0 sig=0x206a7, pf=0x2, revision=0x18
[ 11.969906] microcode: CPU1 sig=0x206a7, pf=0x2, revision=0x18
[ 11.970632] microcode: CPU2 sig=0x206a7, pf=0x2, revision=0x18
[ 11.971322] microcode: CPU3 sig=0x206a7, pf=0x2, revision=0x18
[ 11.971951] microcode: CPU4 sig=0x206a7, pf=0x2, revision=0x18
[ 11.972589] microcode: CPU5 sig=0x206a7, pf=0x2, revision=0x18
[ 11.973222] microcode: CPU6 sig=0x206a7, pf=0x2, revision=0x18
[ 11.973855] microcode: CPU7 sig=0x206a7, pf=0x2, revision=0x18
[ 11.974632] microcode: Microcode Update Driver: v2.00 <email address hidden>, Peter Oruba
[ 36.547878] microcode: CPU0 updated to revision 0x29, date = 2013-06-12
[ 36.548234] microcode: CPU1 updated to revision 0x29, date = 2013-06-12
[ 36.548609] microcode: CPU2 updated to revision 0x29, date = 2013-06-12
[ 36.548981] microcode: CPU3 updated to revision 0x29, date = 2013-06-12
[ 36.549371] microcode: CPU4 updated to revision 0x29, date = 2013-06-12
[ 36.549741] microcode: CPU5 updated to revision 0x29, date = 2013-06-12
[ 36.550128] microcode: CPU6 updated to revision 0x29, date = 2013-06-12
[ 36.550531] microcode: CPU7 updated to revision 0x29, date = 2013-06-12
[ 36.550537] perf_event_intel: PEBS enabled due to microcode update
[44162.337802] microcode: CPU0 updated to revision 0x29, date = 2013-06-12
[44162.351407] microcode: CPU1 updated to revision 0x29, date = 2013-06-12
[44162.364959] microcode: CPU2 updated to revision 0x29, date = 2013-06-12
[44162.378524] microcode: CPU3 updated to revision 0x29, date = 2013-06-12
[44162.392087] microcode: CPU4 updated to revision 0x29, date = 2013-06-12
[44162.405653] microcode: CPU5 updated to revision 0x29, date = 2013-06-12
[44162.419244] microcode: CPU6 updated to revision 0x29, date = 2013-06-12
[44162.432862] microcode: CPU7 updated to revision 0x29, date = 2013-06-12
[59495.577154] microcode: CPU0 updated to revision 0x29, date = 2013-06-12
[59495.590746] microcode: CPU1 updated to revision 0x29, date = 2013-06-12
[59495.604308] microcode: CPU2 updated to revision 0x29, date = 2013-06-12
[59495.617851] microcode: CPU3 updated to revision 0x2...

Read more...

Revision history for this message
vsespb (vsespb) wrote :

ok, maybe I'll try. although I need to investigate first - there were some issues with some dp67bg BIOS versions - like unable to wake up/sleep with certain types of memory + unable to downgrade back etc.

Revision history for this message
vsespb (vsespb) wrote :

flashed BIOS to latest version. same result. HDD wakes up.

# sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
BGP6710J.86A.2209.2012.0717.2302
07/17/2012
# dmesg|grep PEBS
[ 0.060242] Performance Events: PEBS fmt1+, 16-deep LBR, SandyBridge events, Intel PMU driver.
# dmesg|grep microcode
[ 11.676358] microcode: CPU0 sig=0x206a7, pf=0x2, revision=0x28
[ 11.931323] microcode: CPU1 sig=0x206a7, pf=0x2, revision=0x28
[ 11.933090] microcode: CPU2 sig=0x206a7, pf=0x2, revision=0x28
[ 11.933873] microcode: CPU3 sig=0x206a7, pf=0x2, revision=0x28
[ 11.935979] microcode: CPU4 sig=0x206a7, pf=0x2, revision=0x28
[ 11.936629] microcode: CPU5 sig=0x206a7, pf=0x2, revision=0x28
[ 11.937257] microcode: CPU6 sig=0x206a7, pf=0x2, revision=0x28
[ 11.937885] microcode: CPU7 sig=0x206a7, pf=0x2, revision=0x28
[ 11.938534] microcode: Microcode Update Driver: v2.00 <email address hidden>, Peter Oruba
[ 15.585627] microcode: CPU0 updated to revision 0x29, date = 2013-06-12
[ 15.585982] microcode: CPU1 updated to revision 0x29, date = 2013-06-12
[ 15.586344] microcode: CPU2 updated to revision 0x29, date = 2013-06-12
[ 15.586729] microcode: CPU3 updated to revision 0x29, date = 2013-06-12
[ 15.587118] microcode: CPU4 updated to revision 0x29, date = 2013-06-12
[ 15.587503] microcode: CPU5 updated to revision 0x29, date = 2013-06-12
[ 15.587871] microcode: CPU6 updated to revision 0x29, date = 2013-06-12
[ 15.588255] microcode: CPU7 updated to revision 0x29, date = 2013-06-12
[ 155.005609] microcode: CPU0 updated to revision 0x29, date = 2013-06-12
[ 155.019099] microcode: CPU1 updated to revision 0x29, date = 2013-06-12
[ 155.032658] microcode: CPU2 updated to revision 0x29, date = 2013-06-12
[ 155.046191] microcode: CPU3 updated to revision 0x29, date = 2013-06-12
[ 155.059764] microcode: CPU4 updated to revision 0x29, date = 2013-06-12
[ 155.073325] microcode: CPU5 updated to revision 0x29, date = 2013-06-12
[ 155.086898] microcode: CPU6 updated to revision 0x29, date = 2013-06-12
[ 155.100483] microcode: CPU7 updated to revision 0x29, date = 2013-06-12
[ 228.607337] microcode: CPU0 updated to revision 0x29, date = 2013-06-12
[ 228.620829] microcode: CPU1 updated to revision 0x29, date = 2013-06-12
[ 228.634387] microcode: CPU2 updated to revision 0x29, date = 2013-06-12
[ 228.647921] microcode: CPU3 updated to revision 0x29, date = 2013-06-12
[ 228.661477] microcode: CPU4 updated to revision 0x29, date = 2013-06-12
[ 228.675051] microcode: CPU5 updated to revision 0x29, date = 2013-06-12
[ 228.688611] microcode: CPU6 updated to revision 0x29, date = 2013-06-12
[ 228.702185] microcode: CPU7 updated to revision 0x29, date = 2013-06-12

penalvch (penalvch)
tags: added: latest-bios-2209
removed: bios-outdated-2209
Revision history for this message
vsespb (vsespb) wrote :

> plug in the HDD, unplug all other USB devices
my HDD is SATA (as specified in original post)

> execute the following at a terminal
can I leave my USB keyboard plugged? :)

Revision history for this message
vsespb (vsespb) wrote :
Download full text (13.8 KiB)

anyway, here is it.

# sleep 30 && lsusb -v

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize0 64
  idVendor 0x8087 Intel Corp.
  idProduct 0x0024 Integrated Rate Matching Hub
  bcdDevice 0.00
  iManufacturer 0
  iProduct 0
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0001 1x 1 bytes
        bInterval 12
Hub Descriptor:
  bLength 9
  bDescriptorType 41
  nNbrPorts 6
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood 50 * 2 milli seconds
  bHubContrCurrent 0 milli Ampere
  DeviceRemovable 0x00
  PortPwrCtrlMask 0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0001
  Self Powered

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize0 64
  idVendor 0x8087 Intel Corp.
  idProduct 0x0024 Integrated Rate Matching Hub
  bcdDevice 0.00
  iManufacturer 0
  iProduct 0
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces ...

Revision history for this message
penalvch (penalvch) wrote :

vsespb, thank you for providing the requested information. Could you please confirm this issue exists with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains, please just make a comment to this.

If reproducible, could you also please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. 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.13-rc7

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

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: removed: needs-lsusb-v
Revision history for this message
vsespb (vsespb) wrote :

I cannot switch kernels and use alpha versions of ubuntu on this machine, as I stated in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1245792/comments/29

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: needs-trusty-test
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.