[pfSense] Transmeta and FreeBSD

Hello

I would like to use my Futro S210 as a firewall. I installed PfSense 2.0. Everything works fine but the Transmeta Crusoe TM5800-CPU is not going to any energy saving mode.

I found this on the internet.
"I run pfsense on a HP T5700 thin client box. Which has a Transmeta TM5800 CPU. I want to use the longrun feature of crusoe cpu instead of powerd. FreeBSD 8.1 support longrun by compile with options CPU_ENABLE_LONGRUN, but that require recompile the kernel. I can rebuild a custom pfsense. But I think maybe a kld module is better. I found Tamotsu HATTORI's work http://home.att.ne.jp/delta/athlete/longrun/longrun_e.html.But It is slightly out of date. So I convert the longrun.c in FreeBSD src to a module. The binary package for FB81 at http://bitbucket.org/chunlinyao/longrun/downloads/longrun-FB81.2011.1.1.tbz
Here is source code. https://bitbucket.org/chunlinyao/longrun/overview"

I downloaded the binary package but I don´t know how to install that.

Maybe someone can help me. It's my first time that I use FreeBSD.

Greetings Christoph
 
It's quite simple actually, just unpack the archive, go to the "modules" directory and do
Code:
kldload longrun.ko
. Then, you can check if the module was loaded by
Code:
kldstat
.
 
Thank you.

It looks great. Now I can change the frequency.:):)

What will happen when I reboot? Is it possible that it starts the longrun.ko automatically?
 
Kampfwurst said:
What will happen when I reboot? Is it possible that it starts the longrun.ko automatically?

Nope. You need to copy the kernel module file to /boot/kernel and set
Code:
longrun_load="YES"
in /boot/loader.conf.
 
Hello,

I tried this but it's not working.:\

Code:
autoboot_delay="3"
vm.kmem_size="435544320"
vm.kmem_size_max="535544320"
kern.ipc.nmbclusters="0"
hw.ata.ata_dma=0
hw.ata.atapi_dma=0
logrun_load="YES"
 
Kampfwurst said:
Hello

I would like to use my Futro S210 as a firewall. I installed PfSense 2.0. Everything works fine but the Transmeta Crusoe TM5800-CPU is not going to any energy saving mode.

I found this on the internet.


I downloaded the binary package but I don´t know how to install that.

Maybe someone can help me. It's my first time that I use FreeBSD.

Greetings Christoph

Use pkg_add to install it.
Code:
$ pkg_add longrun-FB81.2011.1.1.tbz
 
Kampfwurst said:
I tried this but its not working.:\

logrun_load="YES"

Err, that is a typo. It should read
Code:
longrun_load="YES"
Notice the missing "n". In general you use
Code:
modulename_load="YES"
in /boot/loader.conf (as explained in the man page).
 
Back
Top