my srcds_run replacement http://nephyrin.net/tools/nemrun/latest/
comes with a LD_PRELOAD binary that fakes CPU information to fix srcds's entirely botched linux detection (it detects your CPU wrong, and detects you as having no SSE2 support, etc, regardless of system. try typing r_sse2 in console.) To use it without using nemrun, save http://nephyrin.net/tools/nemrun/latest/NephCPUFix.so in your orangebox/bin and edit srcds_run on line 157: HL_CMD="$HL $PARAMS" becomes HL_CMD="env LD_PRELOAD=NephCPUFix.so $HL $PARAMS" - Neph On Fri, Feb 6, 2009 at 6:40 PM, Imre Facchin <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > i am trying to run a l4d server in a qemu VHOST with kvirt extension > well and hlds gives me > > Unable to determine CPU Frequency > > the distribution is ubuntu server 8.10 > > does anybody know how i can emulate a CPUinfo which hlds will treat as > valid. or is there a way to bypass the check? > > thanks > Imre > > r...@bash# cat /proc/cpuinfo > processor : 0 > vendor_id : AuthenticAMD > cpu family : 6 > model : 2 > model name : QEMU Virtual CPU version 0.9.1 > stepping : 3 > cpu MHz : 2999.941 > cache size : 512 KB > fpu : yes > fpu_exception : yes > cpuid level : 2 > wp : yes > flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm pni > bogomips : 6010.32 > TLB size : 1024 4K pages > clflush size : 64 > cache_alignment : 64 > address sizes : 40 bits physical, 48 bits virtual > power management: > > processor : 1 > vendor_id : AuthenticAMD > cpu family : 6 > model : 2 > model name : QEMU Virtual CPU version 0.9.1 > stepping : 3 > cpu MHz : 2999.941 > cache size : 512 KB > fpu : yes > fpu_exception : yes > cpuid level : 2 > wp : yes > flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm pni > bogomips : 6073.83 > TLB size : 1024 4K pages > clflush size : 64 > cache_alignment : 64 > address sizes : 40 bits physical, 48 bits virtual > power management: > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFJjPSPn1WtwVQU0R0RAhVQAJ0aUiiKcHNtH58H+1jP4GXTRieY+wCeIWEE > VHepvipsnGqhFAWbzrh7gIY= > =H/3F > -----END PGP SIGNATURE----- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

