[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-05-06 Thread David Barker
*** This bug is a duplicate of bug 952556 *** https://bugs.launchpad.net/bugs/952556 ** This bug has been marked a duplicate of bug 952556 [Precise] [Hardware-killer] HD restarts every few seconds ** No longer affects: linux (Ubuntu) -- You received this bug notification because you are

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-05-06 Thread David Barker
Tracking it through more files than I can recall, I found that /usr/lib /pm-utils/power.d/95hdparm-apm calls /lib/hdparm/hdparm-functions which includes the following lines: if hdparm_is_on_battery; then hdparm_set_option -B127 Changing -B127 to -B254 seems to prevent APM causing

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-05-06 Thread David Barker
Some further experimentation has revealed that the issue may be with the drive Advanced Power Management function. When operating on AC power, "hdparm -B /dev/sda" gives APM_level = 254 A few seconds after removing AC power, "hdparm -B /dev/sda" gives APM_level = 127 Running like this for a few

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-05-05 Thread David Barker
@VS: I tried but that had no effect. Thanks for the suggestion. I've tried running Fedora 17 (Beta) with kernel 3.3.3 - this works fine with no issues. That points to it being Ubuntu related as the issue is present in Ubuntu with kernel 3.2.0-24 AND 3.4 mainline, but not present in Fedora 17 wit

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-05-03 Thread VS
I believe this might be related to what I'm seeing in bug 993507. Do the errors go away if you manually run "echo max_performance | sudo tee /sys/class/scsi_host/host*/link_power_management_policy" when on battery? -- You received this bug notification because you are a member of Ubuntu Bugs, whi

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-18 Thread Bug Watch Updater
** Changed in: linux Status: Unknown => Confirmed ** Changed in: linux Importance: Unknown => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/984308 Title: ATA failures when operating

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-18 Thread David Barker
@Colin, Thanks for the suggestion - I actually tried this (along with "sudo pm-powersave false" when running on battery) to no avail. I also suspected a pm-utils script. I also tried putting an copying the scripts from /usr/lib/pm- utils/power.d to /etc/pm/power.d/ and running "chmod a-x" on all

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-18 Thread Colin King
@David, it would be useful to factor out all the pm-utils/power.d scripts, so on AC power can you run: sudo pm-powersave true and see if the problem is triggered by this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.l

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-18 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Status: Confirmed => Triaged ** Also affects: linux via http://bugzilla.kernel.org/show_bug.cgi?id=43117 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-17 Thread David Barker
Upstream (kernel) issue number is 43117. Please see https://bugzilla.kernel.org/show_bug.cgi?id=43117 Note: This is the first time I have reported a kernel bug and as such there is a high likelihood that it is miscategorised or otherwise poorly filed. Any advice or help would be appreciated. ** B

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-17 Thread David Barker
@Joseph: Yes, I have tested with 3.4 rc3 and the issue persists. I will try to open an upstream bug report shortly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/984308 Title: ATA failures when oper

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-17 Thread Brad Figg
** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/984308 Title: ATA failures when operating on battery power in Ubuntu 12.04 To manage noti

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-17 Thread Joseph Salisbury
So you've tested the latest v3.4 kernel[0] and it also has this bug? If so, Would it be possible for you to open an upstream bug report at bugzilla.kernel.org [1]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug. If you are comfortabl

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-17 Thread David Barker
** Description changed: When operating on battery power (not AC), multiple ATA failures occur. - This issue was not present in Ubuntu 11.10 but is obserable 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).

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-17 Thread David Barker
Additionally - I have tried specifying libata.force=noncq kernel option on boot to no effect. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/984308 Title: ATA failures when operating on battery power

[Bug 984308] Re: ATA failures when operating on battery power in Ubuntu 12.04

2012-04-17 Thread David Barker
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/984308 Title: ATA failures when operating on battery power in Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubun