← Back to team overview

kernel-packages team mailing list archive

[Bug 993507] Re: ATA errors when link_power_management_policy is min_power

 

VS, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? 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.12

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: bios-outdated-2.30
** Tags added: latest-bios-2.30

** Tags added: regression-release

** Description changed:

  Disk I/O is dead-slow and dmesg is filled with error messages such as
  the example below when
  /sys/class/scsi_host/host*/link_power_management_policy is set to
  min_power.
  
- ~$ cat /proc/scsi/scsi 
+ WORKAROUND: Change it back to max_performance.
+ 
+ ~$ cat /proc/scsi/scsi
  Attached devices:
  Host: scsi0 Channel: 00 Id: 00 Lun: 00
-   Vendor: ATA      Model: HITACHI HTS54161 Rev: SBDI
-   Type:   Direct-Access                    ANSI  SCSI revision: 05
+   Vendor: ATA      Model: HITACHI HTS54161 Rev: SBDI
+   Type:   Direct-Access                    ANSI  SCSI revision: 05
  Host: scsi3 Channel: 00 Id: 00 Lun: 00
-   Vendor: HL-DT-ST Model: DVDRAM GSA-U10N  Rev: 1.05
-   Type:   CD-ROM                           ANSI  SCSI revision: 05
+   Vendor: HL-DT-ST Model: DVDRAM GSA-U10N  Rev: 1.05
+   Type:   CD-ROM                           ANSI  SCSI revision: 05
  
  dmesg errors:
  [  607.081784] ata1.00: exception Emask 0x10 SAct 0xfe SErr 0x48c0002 action 0xe frozen
  [  607.081796] ata1.00: irq_stat 0x08000040, interface fatal error, connection status changed
  [  607.081807] ata1: SError: { RecovComm CommWake 10B8B LinkSeq DevExch }
  [  607.081816] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081833] ata1.00: cmd 61/10:08:df:06:a5/00:00:08:00:00/40 tag 1 ncq 8192 out
  [  607.081837]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081845] ata1.00: status: { DRDY }
  [  607.081852] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081867] ata1.00: cmd 61/10:10:2f:07:a5/00:00:08:00:00/40 tag 2 ncq 8192 out
  [  607.081871]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081879] ata1.00: status: { DRDY }
  [  607.081886] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081901] ata1.00: cmd 61/08:18:6f:07:a5/00:00:08:00:00/40 tag 3 ncq 4096 out
  [  607.081904]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081912] ata1.00: status: { DRDY }
  [  607.081919] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081933] ata1.00: cmd 61/08:20:07:22:a6/00:00:08:00:00/40 tag 4 ncq 4096 out
  [  607.081937]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081945] ata1.00: status: { DRDY }
  [  607.081952] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081966] ata1.00: cmd 61/08:28:df:06:a9/00:00:08:00:00/40 tag 5 ncq 4096 out
  [  607.081970]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081978] ata1.00: status: { DRDY }
  [  607.081984] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081999] ata1.00: cmd 61/08:30:df:06:d1/00:00:00:00:00/40 tag 6 ncq 4096 out
  [  607.082002]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.082010] ata1.00: status: { DRDY }
  [  607.082017] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.082032] ata1.00: cmd 61/08:38:ff:06:d1/00:00:00:00:00/40 tag 7 ncq 4096 out
  [  607.082035]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.082043] ata1.00: status: { DRDY }
  [  607.082055] ata1: hard resetting link
  [  608.084073] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  [  608.085166] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
  [  608.085171] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
  [  608.085382] ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 (SET FEATURES) succeeded
  [  608.085387] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
  [  608.087770] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
  [  608.087777] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
  [  608.087965] ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 (SET FEATURES) succeeded
  [  608.087973] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
  [  608.089106] ata1.00: configured for UDMA/100
  [  608.089330] ata1: EH complete
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-24-generic-pae 3.2.0-24.37
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
  Uname: Linux 3.2.0-24-generic-pae i686
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: i386
  ArecordDevices:
-  **** List of CAPTURE Hardware Devices ****
-  card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
-    Subdevices: 2/2
-    Subdevice #0: subdevice #0
-    Subdevice #1: subdevice #1
+  **** List of CAPTURE Hardware Devices ****
+  card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
+    Subdevices: 2/2
+    Subdevice #0: subdevice #0
+    Subdevice #1: subdevice #1
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  vegar      2270 F.... pulseaudio
-                       vegar      2382 F.... xfce4-volumed
-  /dev/snd/controlC29: vegar      2382 F.... xfce4-volumed
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  vegar      2270 F.... pulseaudio
+                       vegar      2382 F.... xfce4-volumed
+  /dev/snd/controlC29: vegar      2382 F.... xfce4-volumed
  CRDA: Error: [Errno 2] Ingen slik fil eller filkatalog
  Card0.Amixer.info:
-  Card hw:0 'Intel'/'HDA Intel at 0xfe220000 irq 49'
-    Mixer name	: 'Analog Devices AD1984'
-    Components	: 'HDA:11d41984,17aa20d7,00100400'
-    Controls      : 32
-    Simple ctrls  : 20
+  Card hw:0 'Intel'/'HDA Intel at 0xfe220000 irq 49'
+    Mixer name	: 'Analog Devices AD1984'
+    Components	: 'HDA:11d41984,17aa20d7,00100400'
+    Controls      : 32
+    Simple ctrls  : 20
  Card29.Amixer.info:
-  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7KHT24WW-1.08'
-    Mixer name	: 'ThinkPad EC 7KHT24WW-1.08'
-    Components	: ''
-    Controls      : 1
-    Simple ctrls  : 1
+  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7KHT24WW-1.08'
+    Mixer name	: 'ThinkPad EC 7KHT24WW-1.08'
+    Components	: ''
+    Controls      : 1
+    Simple ctrls  : 1
  Card29.Amixer.values:
-  Simple mixer control 'Console',0
-    Capabilities: pswitch pswitch-joined penum
-    Playback channels: Mono
-    Mono: Playback [on]
+  Simple mixer control 'Console',0
+    Capabilities: pswitch pswitch-joined penum
+    Playback channels: Mono
+    Mono: Playback [on]
  Date: Wed May  2 21:50:07 2012
  HibernationDevice: RESUME=UUID=d4c0af33-0f9f-42e8-99ff-ad8b66f28723
  IwConfig: Error: [Errno 2] Ingen slik fil eller filkatalog
  MachineType: LENOVO 766418G
  ProcEnviron:
-  LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en_GB:en
-  TERM=xterm
-  PATH=(custom, user)
-  LANG=nb_NO.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en_GB:en
+  TERM=xterm
+  PATH=(custom, user)
+  LANG=nb_NO.UTF-8
+  SHELL=/bin/bash
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic-pae root=UUID=0048d440-8ee4-4871-bc67-0ae31d4e3f70 ro quiet splash pcie_aspm=force vt.handoff=7
  RelatedPackageVersions:
-  linux-restricted-modules-3.2.0-24-generic-pae N/A
-  linux-backports-modules-3.2.0-24-generic-pae  N/A
-  linux-firmware                                1.79
+  linux-restricted-modules-3.2.0-24-generic-pae N/A
+  linux-backports-modules-3.2.0-24-generic-pae  N/A
+  linux-firmware                                1.79
  RfKill: Error: [Errno 2] Ingen slik fil eller filkatalog
  SourcePackage: linux
  UdevDb: Error: [Errno 2] Ingen slik fil eller filkatalog
  UpgradeStatus: Upgraded to precise on 2012-05-02 (0 days ago)
  WpaSupplicantLog:
-  
+ 
  dmi.bios.date: 04/08/2010
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7LETC7WW (2.27 )
  dmi.board.name: 766418G
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr7LETC7WW(2.27):bd04/08/2010:svnLENOVO:pn766418G:pvrThinkPadT61:rvnLENOVO:rn766418G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 766418G
  dmi.product.version: ThinkPad T61
  dmi.sys.vendor: LENOVO

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

Title:
  ATA errors when link_power_management_policy is min_power

Status in The Linux Kernel:
  Confirmed
Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Disk I/O is dead-slow and dmesg is filled with error messages such as
  the example below when
  /sys/class/scsi_host/host*/link_power_management_policy is set to
  min_power.

  WORKAROUND: Change it back to max_performance.

  ~$ cat /proc/scsi/scsi
  Attached devices:
  Host: scsi0 Channel: 00 Id: 00 Lun: 00
    Vendor: ATA      Model: HITACHI HTS54161 Rev: SBDI
    Type:   Direct-Access                    ANSI  SCSI revision: 05
  Host: scsi3 Channel: 00 Id: 00 Lun: 00
    Vendor: HL-DT-ST Model: DVDRAM GSA-U10N  Rev: 1.05
    Type:   CD-ROM                           ANSI  SCSI revision: 05

  dmesg errors:
  [  607.081784] ata1.00: exception Emask 0x10 SAct 0xfe SErr 0x48c0002 action 0xe frozen
  [  607.081796] ata1.00: irq_stat 0x08000040, interface fatal error, connection status changed
  [  607.081807] ata1: SError: { RecovComm CommWake 10B8B LinkSeq DevExch }
  [  607.081816] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081833] ata1.00: cmd 61/10:08:df:06:a5/00:00:08:00:00/40 tag 1 ncq 8192 out
  [  607.081837]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081845] ata1.00: status: { DRDY }
  [  607.081852] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081867] ata1.00: cmd 61/10:10:2f:07:a5/00:00:08:00:00/40 tag 2 ncq 8192 out
  [  607.081871]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081879] ata1.00: status: { DRDY }
  [  607.081886] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081901] ata1.00: cmd 61/08:18:6f:07:a5/00:00:08:00:00/40 tag 3 ncq 4096 out
  [  607.081904]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081912] ata1.00: status: { DRDY }
  [  607.081919] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081933] ata1.00: cmd 61/08:20:07:22:a6/00:00:08:00:00/40 tag 4 ncq 4096 out
  [  607.081937]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081945] ata1.00: status: { DRDY }
  [  607.081952] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081966] ata1.00: cmd 61/08:28:df:06:a9/00:00:08:00:00/40 tag 5 ncq 4096 out
  [  607.081970]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.081978] ata1.00: status: { DRDY }
  [  607.081984] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.081999] ata1.00: cmd 61/08:30:df:06:d1/00:00:00:00:00/40 tag 6 ncq 4096 out
  [  607.082002]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.082010] ata1.00: status: { DRDY }
  [  607.082017] ata1.00: failed command: WRITE FPDMA QUEUED
  [  607.082032] ata1.00: cmd 61/08:38:ff:06:d1/00:00:00:00:00/40 tag 7 ncq 4096 out
  [  607.082035]          res 50/00:08:ff:06:d1/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
  [  607.082043] ata1.00: status: { DRDY }
  [  607.082055] ata1: hard resetting link
  [  608.084073] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  [  608.085166] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
  [  608.085171] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
  [  608.085382] ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 (SET FEATURES) succeeded
  [  608.085387] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
  [  608.087770] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
  [  608.087777] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
  [  608.087965] ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 (SET FEATURES) succeeded
  [  608.087973] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
  [  608.089106] ata1.00: configured for UDMA/100
  [  608.089330] ata1: EH complete

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-24-generic-pae 3.2.0-24.37
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
  Uname: Linux 3.2.0-24-generic-pae i686
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
     Subdevices: 2/2
     Subdevice #0: subdevice #0
     Subdevice #1: subdevice #1
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  vegar      2270 F.... pulseaudio
                        vegar      2382 F.... xfce4-volumed
   /dev/snd/controlC29: vegar      2382 F.... xfce4-volumed
  CRDA: Error: [Errno 2] Ingen slik fil eller filkatalog
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfe220000 irq 49'
     Mixer name	: 'Analog Devices AD1984'
     Components	: 'HDA:11d41984,17aa20d7,00100400'
     Controls      : 32
     Simple ctrls  : 20
  Card29.Amixer.info:
   Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7KHT24WW-1.08'
     Mixer name	: 'ThinkPad EC 7KHT24WW-1.08'
     Components	: ''
     Controls      : 1
     Simple ctrls  : 1
  Card29.Amixer.values:
   Simple mixer control 'Console',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  Date: Wed May  2 21:50:07 2012
  HibernationDevice: RESUME=UUID=d4c0af33-0f9f-42e8-99ff-ad8b66f28723
  IwConfig: Error: [Errno 2] Ingen slik fil eller filkatalog
  MachineType: LENOVO 766418G
  ProcEnviron:
   LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en_GB:en
   TERM=xterm
   PATH=(custom, user)
   LANG=nb_NO.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic-pae root=UUID=0048d440-8ee4-4871-bc67-0ae31d4e3f70 ro quiet splash pcie_aspm=force vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-24-generic-pae N/A
   linux-backports-modules-3.2.0-24-generic-pae  N/A
   linux-firmware                                1.79
  RfKill: Error: [Errno 2] Ingen slik fil eller filkatalog
  SourcePackage: linux
  UdevDb: Error: [Errno 2] Ingen slik fil eller filkatalog
  UpgradeStatus: Upgraded to precise on 2012-05-02 (0 days ago)
  WpaSupplicantLog:

  dmi.bios.date: 04/08/2010
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7LETC7WW (2.27 )
  dmi.board.name: 766418G
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr7LETC7WW(2.27):bd04/08/2010:svnLENOVO:pn766418G:pvrThinkPadT61:rvnLENOVO:rn766418G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 766418G
  dmi.product.version: ThinkPad T61
  dmi.sys.vendor: LENOVO

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