Bartlomiej Zolnierkiewicz wrote:
Please revert ALL changes to 2.6.6 and gather some debug information
using these simple patch.
Vanilla 2.6.6 with just this patch, at boot, directly after the partition scan:
hda: wcache=1 cmd=234
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: Write Cache FAILED Flushing!
At reboot or halt:
Shutdown: hda
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: DMA disabled
ide0: reset: success
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
ide0: reset: success
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
Restarting system.
Oh and please check 'wcache' value from /proc/ide/hda/settings
now and with this patch applied.
Vanilla 2.6.6:
rene@7ixe4:~/cache$ grep wcache settings-2.6.6
wcache 1 0 1 rw
2.6.6 with the de{flush,spin}ification patches:
rene@7ixe4:~/cache$ grep wcache settings-2.6.6-hackedup
wcache 0 0 1 rw
Hrmpf. 0?
Will test a few older Maxtor drives as well tonight. Hope it's useful.