Bug 8816
Summary: | ST340823A IDE disk problems with ide-disk.c, libata-core.c | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Mikko Rapeli (mikko.rapeli) |
Component: | IDE | Assignee: | Bartlomiej Zolnierkiewicz (bzolnier) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.22.1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
kernel config for 2.6.22.1
dmesg with Debian kernel 2.6.8-4 dmesg with Debian kernel 2.6.10-1 dmesg with with 2.6.22.1 lshw output smartctl -a /dev/hdd, the drive seems ok dirty but working fix for 2.6.22.1 dmesg with 2.6.22.1 when drivers/ide/* compiled with -DDEBUG libata log with 2.6.22.1 libsata log with 2.6.22.1 and hpa disable by default (static int ata_ignore_hpa = 1;) blacklist hpa buggy devices in libata with 2.6.22.1 log with 2.6.22.1 plus hpa enabled by default and the previous blacklist patch Patch against 2.6.23-rc5 to add ST320413A to the black list in ide-disk.c |
Description
Mikko Rapeli
2007-07-27 02:07:24 UTC
Created attachment 12178 [details]
kernel config for 2.6.22.1
Created attachment 12179 [details]
dmesg with Debian kernel 2.6.8-4
Created attachment 12180 [details]
dmesg with Debian kernel 2.6.10-1
Created attachment 12181 [details]
dmesg with with 2.6.22.1
Created attachment 12182 [details]
lshw output
Created attachment 12213 [details]
smartctl -a /dev/hdd, the drive seems ok
Created attachment 12214 [details] dirty but working fix for 2.6.22.1 This disables the old stroke feature, what ever it did. Linus suggested this as a dirty fix for silent reboot hangs that were reported to exists between 2.6.10 and 2.6.14, http://marc.info/?l=linux-kernel&m=113060651817474&w=2 . The hang is very similar to what I described on the debian kernels between 2.6.12 and 2.6.16. Created attachment 12235 [details]
dmesg with 2.6.22.1 when drivers/ide/* compiled with -DDEBUG
Discussion about this bug: http://marc.info/?t=118596132600016&r=1&w=2 And the fix for 2.6.23-rc1: http://marc.info/?l=linux-ide&m=118609784802744&w=2 (Though 2.6.18 and 2.6.22.1 would propably like http://marc.info/?l=linux-ide&m=118609784802744&w=2 better.) Created attachment 12251 [details]
libata log with 2.6.22.1
Created attachment 12252 [details]
libsata log with 2.6.22.1 and hpa disable by default (static int ata_ignore_hpa = 1;)
Created attachment 12253 [details]
blacklist hpa buggy devices in libata with 2.6.22.1
Tested and gives a lot less warnings than normal hpa enabled kernel, though
the lvm partitions even without this patch as the previous log shows.
Created attachment 12254 [details]
log with 2.6.22.1 plus hpa enabled by default and the previous blacklist patch
Created attachment 12803 [details] Patch against 2.6.23-rc5 to add ST320413A to the black list in ide-disk.c ST320413A has the same problem as ST340823A. Please see https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/26119 Thanks. |