Bug 43117
Summary: | ATA failures when operating on battery power with AMD SBx00 SATA controller due to hdparm | ||
---|---|---|---|
Product: | Power Management | Reporter: | David Barker (david) |
Component: | Other | Assignee: | power-management_other |
Status: | CLOSED INVALID | ||
Severity: | normal | CC: | alan, david, lenb |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.launchpad.net/ubuntu/+source/linux/+bug/984308 | ||
Kernel Version: | 3.4 rc3 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg output showing errors
lspci output of affected system output from cat /proc/scsi/scsi output from cat /proc/modules |
Description
David Barker
2012-04-17 20:22:42 UTC
Created attachment 72945 [details]
dmesg output showing errors
Created attachment 72946 [details]
lspci output of affected system
Created attachment 72947 [details]
output from cat /proc/scsi/scsi
Given that issue seems power/SATA/ALPM related, output from cat /proc/scsi/scsi may be helpful
Created attachment 72948 [details]
output from cat /proc/modules
I've narrowed this down to occurring when "hdparm -B 127" is called on switching to battery mode (by /lib/hdparm/hdparm-functions). Previously, Ubuntu set hdparm -B to 128 on battery. Ubuntu recently changed to this to 127 in hdparm-functions. This may still be a kernel bug as -B 127 causes excessive ATA resets. Could be a drive firmware problem. We just pass the command to the drive so it's not a kernel thing really. Check if there is a firmware update for your drive. Unclear that this is a kernel power management bug, since the kernel isn't making this policy choice. Probably should be filed with the maintainer of /lib/hdparm/hdparm-functions |