Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-25-2009, 10:11 PM
bergalas
Banned
 
Join Date: Aug 2009
Location: look behind you
Posts: 30
Default 64bit Build

I am currious if anyone has gotten this to work on 64bit centos/fedora/redhat
Reply With Quote
  #2  
Old 08-25-2009, 11:19 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

KMRA is running on 64bit and I think a couple others might be as well. But, considering some of the pain that has come with doing that, you would probably be best off using the 32bit version unless you have some really good reason not to.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 08-26-2009, 01:24 AM
bergalas
Banned
 
Join Date: Aug 2009
Location: look behind you
Posts: 30
Default

The only OS Option I have with my current hosting provider that is 32 bit is debian and I am not that familiar with it. All the other OS options are 64bit centos and the like.
Reply With Quote
  #4  
Old 08-26-2009, 12:59 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

The bulk of the code should be pretty stable under 64bit now. The main thing is use the standard makefiles, but adjust the -march=i686 to something that matches your cpu. Depending on the distribution, there may still be a minor issue with one of the makefiles under 64bit. I'll take a look and submit a fix if the problem is still present.

I've not had time to review some of the more recent changes to the emu code to make sure it will work well under 64bit, but feel free to post if you have any issues and I'll look into it.
Reply With Quote
  #5  
Old 08-27-2009, 01:42 AM
Tyen05
Discordant
 
Join Date: Mar 2009
Location: eqbrowser.com
Posts: 309
Default

Quote:
Originally Posted by bergalas View Post
I am currious if anyone has gotten this to work on 64bit centos/fedora/redhat
"In the sky" is running on 64 redhat with a custom kernal.
Reply With Quote
  #6  
Old 08-27-2009, 03:37 PM
krystlih
Fire Beetle
 
Join Date: Jul 2004
Location: Florida
Posts: 16
Default

I tried to get 64-bit to compile on my server, but had library issues and rather than spending all day resolving those issues I went to 32-bit for now. Potentially if my server picks up in load and we need more memory/hardware I will look deeper into making 64-bit work and will post what I find here.

Until I have a need I don't want to spend the time on it.
__________________
Flame of Chaos
Reply With Quote
  #7  
Old 08-27-2009, 03:43 PM
bergalas
Banned
 
Join Date: Aug 2009
Location: look behind you
Posts: 30
Default

same Debian 5 32 bit seems to be working fine for me, I had library issues like you wouldnt believe
Reply With Quote
  #8  
Old 08-27-2009, 07:20 PM
Tyen05
Discordant
 
Join Date: Mar 2009
Location: eqbrowser.com
Posts: 309
Default

So far we have updated all this:

Compatibility with mysql 5.1
-Compatibility with 64-bit linux platform and proper operation with kernel-based stack/heap randomizing
-Compatibility with gcc4.3 and aggressive optimization options, migration to modern base C libraries
-Hack to mysql 5.1 client libraries used to compile server which automatically sanitizes all queries before they hit the server
-Wrote tool to rebuild the "player profile" entry for every character in the database to reflect the data structure expected by the server under the new platform
-Began passive logging of raw historical(interval) data from the replication slave for the planned statistics engine to a third database instance
Reply With Quote
  #9  
Old 08-28-2009, 07:58 PM
Opulens
Fire Beetle
 
Join Date: Aug 2009
Location: U.S
Posts: 10
Default

I have it running on 64bit RHEL 5. I can login, etc. Just can't move once I'm in. still debugging that...
Reply With Quote
  #10  
Old 08-29-2009, 01:38 PM
Opulens
Fire Beetle
 
Join Date: Aug 2009
Location: U.S
Posts: 10
Default

Quote:
Originally Posted by Opulens View Post
I have it running on 64bit RHEL 5. I can login, etc. Just can't move once I'm in. still debugging that...
Current problem is:
19658 [08.29. - 11:28:37] Starting Log: logs/eqemu_error_zone.log
19658 [08.29. - 11:28:37] Unsupported path file version.
19658 [08.29. - 11:28:37] Path File ./Maps/tutorialb.path failed to load.


any ideas?
Reply With Quote
  #11  
Old 08-29-2009, 02:25 PM
Opulens
Fire Beetle
 
Join Date: Aug 2009
Location: U.S
Posts: 10
Default

Quote:
Originally Posted by Opulens View Post
Current problem is:
19658 [08.29. - 11:28:37] Starting Log: logs/eqemu_error_zone.log
19658 [08.29. - 11:28:37] Unsupported path file version.
19658 [08.29. - 11:28:37] Path File ./Maps/tutorialb.path failed to load.


any ideas?
Also, all the default paths are missing:

22290 [08.29. - 12:07:46] Path File ./Maps/butcher.path not found.
Reply With Quote
  #12  
Old 08-31-2009, 12:20 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Most zones do not have path files. The path file version error may be a problem with type casting in the code. I'll look at it when I have a chance, which will probably be a few days from now at the very least.
Reply With Quote
  #13  
Old 08-31-2009, 12:51 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Code:
struct PathFileHeader {
	long version;
	long PathNodeCount;
};
The path files created by 32 bit have an 8-byte header, 2 4-byte longs.
Reply With Quote
  #14  
Old 09-16-2009, 05:56 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Quote:
Originally Posted by KLS View Post
Code:
struct PathFileHeader {
	long version;
	long PathNodeCount;
};
The path files created by 32 bit have an 8-byte header, 2 4-byte longs.
for it to work on both 32bit and 64bit, it'll need to be changed to int32s. i did the same to the code for the regular and water maps a while back.
Reply With Quote
  #15  
Old 09-23-2009, 12:16 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

the fix for pathfiles under 64bit has been committed to svn
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:18 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3