Comment 13 for bug 410596

Revision history for this message
BryanFRitt (bryanfritt) wrote :

compiling smm didn't work for me at first, had to install 'gcc-4.6-multilib'.

without 'gcc-4.6-multilib'
gcc -g -O2 -Wall -I. -o smm -m32 smm.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status

the command `gcc -g -O2 -Wall -I. -o smm -m32 smm.c` followed by a `sudo ./smm 30a3` worked(or at least seams to work LOL) after a `sudo apt-get install gcc-4.6-multilib`
---
# http://www.ubuntuask.com/q/answers-cpu-fan-kicks-in-to-full-gear-when-i-try-to-install-ubuntu-12-10-or-lts-265696.html
# in your i8kutils source directory
# To disable BIOS control:
# `sudo ./smm 30a3`
# To reenable BIOS control:
# `sudo ./smm 31a3`
---
To set a specific speed from the command line run
`sudo invoke-rc.d i8kmon stop`
then
`i8kctl fan 2 2`
or what ever fan speeds you want (don't overheat anything)
to go back to auto
`sudo invoke-rc.d i8kmon start`
start or restart is probably ok

Note: These directions assume you have a good setup of /etc/i8kmon.conf, ~/.i8kmon, /etc/default/i8kmon, etc... to go with this.

P.S. don't let anything get overheated...