← Back to team overview

kernel-packages team mailing list archive

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

 

Upgraded to the latest BIOS, bug still present.

Here's what I did:
1. echo min_power |sudo tee /sys/class/scsi_host/host*/link_power_management_policy
2. Provoked disk activity by starting Firefox. Everything hangs for a while, messages in dmesg pasted below.
3. Returned to normal operation with: echo max_performance |sudo tee /sys/class/scsi_host/host*/link_power_management_policy

Requested output:
$ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
7LETD0WW (2.30 )
02/27/2012

dmesg output:
[  340.064083] ata3.00: exception Emask 0x0 SAct 0x1 SErr 0x40000 action 0x6 frozen
[  340.064088] ata3: SError: { CommWake }
[  340.064092] ata3.00: failed command: READ FPDMA QUEUED
[  340.064099] ata3.00: cmd 60/18:00:df:85:9f/00:00:04:00:00/40 tag 0 ncq 12288 in
[  340.064099]          res 40/00:00:00:4f:c2/00:01:00:00:00/00 Emask 0x4 (timeout)
[  340.064102] ata3.00: status: { DRDY }
[  340.064108] ata3: hard resetting link
[  340.552105] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[  340.553225] ata3.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[  340.553230] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[  340.553449] ata3.00: ACPI cmd ef/5f:00:00:00:00:a0 (SET FEATURES) succeeded
[  340.553454] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[  340.555876] ata3.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[  340.555882] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[  340.556077] ata3.00: ACPI cmd ef/5f:00:00:00:00:a0 (SET FEATURES) succeeded
[  340.556083] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[  340.557176] ata3.00: configured for UDMA/100
[  340.557381] ata3.00: device reported invalid CHS sector 0
[  340.557395] ata3: EH complete

-- 
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.

  ~$ 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