ATA failures when operating on battery power in Ubuntu 12.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Confirmed
|
High
|
Bug Description
When operating on battery power (not AC), multiple ATA failures occur.
This issue was not present in Ubuntu 11.10 but is observable in Ubuntu 12.04 beta 2 and Xubuntu 12.04 beta 2. The issue also occurs in Ubuntu 12.04 daily (17/04/2012) with latest updates (via apt).
I have tried using the most recent (as of 17/04/2012) mainline kernel.
The issue occurs both when booting under battery power and when booting under AC and then switching to battery.
Under AC power, no issues are observed.
The system will function correctly for some time (up to a few minutes) then applications will stop responding. The following occurs in dmesg when the issue presents (after which the system begins functioning normally for another few minutes).
[ 238.848502] ata1.00: exception Emask 0x0 SAct 0xf SErr 0x0 action 0x6 frozen
[ 238.848526] ata1.00: failed command: WRITE FPDMA QUEUED
[ 238.848548] ata1.00: cmd 61/00:00:
[ 238.848552] res 40/00:00:
[ 238.848563] ata1.00: status: { DRDY }
[ 238.848571] ata1.00: failed command: WRITE FPDMA QUEUED
[ 238.848589] ata1.00: cmd 61/00:08:
[ 238.848593] res 40/00:00:
[ 238.848602] ata1.00: status: { DRDY }
[ 238.848610] ata1.00: failed command: WRITE FPDMA QUEUED
[ 238.848628] ata1.00: cmd 61/00:10:
[ 238.848632] res 40/00:00:
[ 238.848640] ata1.00: status: { DRDY }
[ 238.848648] ata1.00: failed command: WRITE FPDMA QUEUED
[ 238.848666] ata1.00: cmd 61/00:18:
[ 238.848670] res 40/00:00:
[ 238.848678] ata1.00: status: { DRDY }
[ 238.848696] ata1: hard resetting link
[ 248.860425] ata1: softreset failed (device not ready)
[ 248.860450] ata1: hard resetting link
[ 258.872300] ata1: softreset failed (device not ready)
[ 258.872322] ata1: hard resetting link
[ 269.448629] ata1: link is slow to respond, please be patient (ready=0)
[ 270.232426] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 270.244974] ata1.00: configured for UDMA/133
[ 270.260214] ata1.00: device reported invalid CHS sector 0
[ 270.260239] ata1.00: device reported invalid CHS sector 0
[ 270.260256] ata1.00: device reported invalid CHS sector 0
[ 270.260272] ata1.00: device reported invalid CHS sector 0
[ 270.260297] ata1: EH complete
I tried exiting early from /usr/lib/
I have tried changing the HDD and SATA cable to rule out a coincidental hardware failure however the issue persists. Switching back to Ubuntu 11.10 resolves the issue.
My SATA controller is as follows:
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
The machine in question is a Sony Vaio Y-Series VPCYB2M1E with AMD E-350.
*Edited for spelling
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelMo
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu4
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 1: SB [HDA ATI SB], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Generic'/'HD-Audio Generic at 0xf0244000 irq 42'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,
Controls : 6
Simple ctrls : 1
Card0.Amixer.
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Card1.Amixer.info:
Card hw:1 'SB'/'HDA ATI SB at 0xf0240000 irq 16'
Mixer name : 'Realtek ALC269VB'
Components : 'HDA:10ec0269,
Controls : 18
Simple ctrls : 10
Date: Tue Apr 17 20:21:25 2012
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120417)
MachineType: Sony Corporation VPCYB2M1E
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.79
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/02/2011
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: R0161Z7
dmi.board.
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.
dmi.modalias: dmi:bvnInsydeCo
dmi.product.name: VPCYB2M1E
dmi.product.
dmi.sys.vendor: Sony Corporation
description: | updated |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in linux: | |
importance: | Unknown → High |
status: | Unknown → Confirmed |
no longer affects: | linux (Ubuntu) |
Additionally - I have tried specifying libata.force=noncq kernel option on boot to no effect.