Linux 3.16(amd64)がインストールされているDebianでi8kを実行しようとしています。
リポジトリ(1.41)にdebがあり、サービスが開始されています。 i8kmonは正しい統計を表示しますが、ファン制御は機能しません。問題は、システムにsmmがないことです。 ./smm-testスクリプトで「No smm program」が発生します。
最近のカーネル4.*の変更により、最後のi8kutils 1.43にsmmは含まれていませんが、1.41(repo)と1.42は私の3.16カーネルで動作するはずです。それでは、repoパッケージにsmmファイルがないのはなぜですか?
1.42 アーカイブをダウンロードして「make」を実行しましたが、{18kmon、i8kctl、i8kfan)がコンパイルされ、smmには何もしませんでした。
'gcc smm.c -o smm'を使用してsmm.cファイルを別々にコンパイルしようとしましたが、次のように表示されます.
htt@woodhost:~/Downloads/i8kutils$ gcc -Wall smm.c -o smm
smm.c: Assembler messages:
smm.c:50: Error: invalid instruction suffix for `push'
smm.c:52: Error: operand type mismatch for `push'
smm.c:58: Error: invalid instruction suffix for `pop'
smm.c:67: Error: invalid instruction suffix for `pop'
'gcc -g -O2 -Wall -I' で実行するとき。 -o smm -m32 smm.c' 以下を提供します。
htt@woodhost:~/Downloads/i8kutils$ gcc -g -O2 -Wall -I. -o smm -m32 smm.c
In file included from /usr/include/stdio.h:27:0,
from smm.c:27:
/usr/include/features.h:364:25: fatal error: sys/cdefs.h: No such file or directory
# include <sys/cdefs.h>
^
compilation terminated.
SMMが動作するには何が必要ですか?