[ltp] tp-fancontrol script errors on R52

Takis Diakoumis linux-thinkpad@linux-thinkpad.org
Fri, 29 Dec 2006 11:45:58 +1100


Hi

i'm running 2.6.19.1 kernel on an R52 (1858A19) - ibm-acpi is from the
kernel - i also have tp_smapi 0.30 compiled in.

i just upgraded my tp-fancontrol script from version 0.2.8 to 0.3.02 and
i've noticed a number of dmesg dumps as follows:

ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: tag 0 cmd 0xf0 Emask 0x1 stat 0x51 err 0x4 (device error)
ata1: EH complete

similarly /var/log/messages is filling up with:

Dec 29 11:05:11 localhost kernel: ata1: EH complete
Dec 29 11:05:11 localhost last message repeated 5 times
Dec 29 11:05:11 localhost kernel: SCSI device sda: 156301488 512-byte
hdwr sectors (80026 MB)
Dec 29 11:05:11 localhost kernel: sda: Write Protect is off
Dec 29 11:05:11 localhost kernel: SCSI device sda: drive cache: write
back
Dec 29 11:05:11 localhost kernel: SCSI device sda: 156301488 512-byte
hdwr sectors (80026 MB)
Dec 29 11:05:11 localhost kernel: sda: Write Protect is off
Dec 29 11:05:11 localhost kernel: SCSI device sda: drive cache: write
back

i have isolated the issue to the calls made in read_hitachi_temp()
section of the script. unfortunately thats about where my know-how ends.

has anybody else seen this?? any fixes/work-arounds?? in the meantime
i've gone back to 0.2.8 version of the script. i have read through the
think-wiki and couldn't find anything.

please let me know if i can provide anymore info.

thanks
Takis

-- 
http://executequery.org