Auto detecting CPU
Using AMD Optimised binary.
Auto-restarting the server on crash
Console initialized.
scandir failed:/usr/hlds/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 20:02:44 Oct 24 2006 (3651)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 210.46.78.38:27015
scandir failed:/usr/hlds/./platform/SAVE
couldn't exec listip.cfg
couldn't exec banned.cfg
Adding master server 69.28.151.162:27010
Adding master server 72.165.61.189:27010
0 fps -- host(1162) sv(908) cl( 0) gfx( 0) snd( 0) ents(109)
Connection to Steam servers successful.
VAC secure mode is activated.
这段文字会因机器而异。如cpu,server ip等等。
如果出现了 Unable to Detect CPU Frequency ,Segmentation Fault
等信息,是因为系统中没有对linux的/proc实现支持。
测试代码:/compat/linux/bin/ls -l /proc/cpuinfo
如果出现:No such file or diretctory,就确信无疑了。因为hlds是linux程序,要从这里读取cpu信息,读取不到,自然就Unable to .....了。
解决的办法比较麻烦,我是重新编译了内核(这方面比较复杂,估计以我的表达能力是是说不清楚的,大家可以查看Freebsd Handbook,或者www.freebsdchina.org的论坛,或者找人问一下。。):
在内核配置文件中加入:
options COMPAT_LINUX
options LINPROCFS
重新编译内核后,在/etc/fstab中加入一行:
linproc /compat/linux/proc linprocfs rw 0 0