-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ah, well in that case my guess would be that it has something to do with the FreeBSD scheduler and HyperThreading/SMP handling. I noticed via top that the CPU the process was currently running on would shift randomly, so this was likely the source of the issue.
Alfred Reynolds wrote: | If /proc doesn't exist the engine tries to calculate the clock speed | using some assembly instruction magic, but on a busy system (if the game | can't get two scheduler slices next to each other in about 10 attempts) | then it just gives up and prints that error. This functionality has been | around since release however, I can't explain why it just showed up now. | | - alfred | | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] On Behalf Of Mike | Knight | Sent: Wednesday, June 15, 2005 6:44 PM | To: [email protected] | Subject: Re: [hlds_linux] Segmentation Faults on FreeBSD amd64 branch | | Wow i didn't even think about that. I mounted /proc as linprocfs and | it's working flawlessly. | | I'm still a bit curious why it is an intermittent issue where it starts | 50% of the time without /proc, and why it did not do this before the | last update, but as long as it's working i'm happy. | | Thanks Alfred. | | Alfred Reynolds wrote: | | Make sure you enable linux /proc support in your emulation layer. | | | | - Alfred | | | | -----Original Message----- | | From: [EMAIL PROTECTED] | | [mailto:[EMAIL PROTECTED] On Behalf Of Mike | | Knight | | Sent: Wednesday, June 15, 2005 6:19 PM | | To: [email protected] | | Subject: Re: [hlds_linux] Segmentation Faults on FreeBSD amd64 branch | | | | Update: | | | | It turns out that the 5.4 i386 branch has the exact same problem, i | | was just not getting the error the few times i tried it. | | | | udpsocket.cpp (543) : Assertion Failed: 0 == iRet udpsocket.cpp (546) | : | | Assertion Failed: 0 == iRet | | | | I get that error after the pausable cvar when it DOES work. | | | | If it does not work, I do not get it. | | | | Mike Knight wrote: | | | Hello list, | | | | | | I'm running FreeBSD 5.4-amd64 on a dual xeon nocona box. It is not | | | a production box yet, but I'm trying to get HLDS working on it. | | | Whenever I run HLDS there is a 50% chance that it gives a | | | segmentation | | fault. | | | | | | I am running stock SMP kernel and I have tried linux_base-8, | | | linux_base-suse-9.2, linux_base-gentoo-stage1, and | | linux_base-src-rh-8. | | | | | | I have tried using hlds_amd, hlds_i486, and hlds_i686 all with no | | luck. | | | | | | Startup command: ./hlds_run -game cstrike +map de_dust2 +log on | | | -debug -binary ./hlds_amd | | | | | | I am running it as root right now to easily eliminate permission | | concerns. | | | | | | When i start up the server either with basic or advanced options it | | | will crash directly after: | | | | | | L 06/16/2005 - 00:41:19: Server cvar "pausable" = "0" | | | Unable to determine CPU Frequency | | | Segmentation fault (core dumped) | | | | | | | | | When the server DOES NOT crash, it does not show the "Unable to | | | determine CPU Frequency" error. | | | | | | I started messing around adding/removing options, and it segfaults | | | independently of security and master settings. However, if i add | | | +sv_lan 1, it will not segfault at all. | | | | | | When i try to run gdb on the .core file it says that it is not a | | | valid | | | | | core file (i'm assuming since i'm running bsd and not linux). I can | | | | provide the core file if needed, but it is 60MB. | | | | | | I'm about ready to install the i386 branch and be done with it, but | | | before i do that i'm hoping someone here has a workaround. | | | | | | | | | Thanks in advance. | | | | | | | _______________________________________________ | | To unsubscribe, edit your list preferences, or view the list archives, | | | please visit: | | http://list.valvesoftware.com/mailman/listinfo/hlds_linux | | | | | | | | -- | | Mike Knight | | Systems Administrator | | www.NetRaid.Net | | [EMAIL PROTECTED] | | _______________________________________________ | 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 | | | | -- | Mike Knight | Systems Administrator | www.NetRaid.Net | [EMAIL PROTECTED] _______________________________________________ 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 - -- Mike Knight Systems Administrator www.NetRaid.Net [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCsOCZvHLZzELmMmURArQGAJ9MwrWUyqk/5hdFIEmS4vyUrh4bfACdHexW /T32Xwu0oBqZ9+YKxMgcUiY= =HDW9 -----END PGP SIGNATURE----- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

