Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-10-2002, 10:17 PM   #1
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
RedHat 6.0 Game Server

I got an old computer back from my grandma that used to be mine. It is a Sony Vaio pcv-90. It has a P200 and 32 megs of ram. I decided I'd like to turn it into a game server, so I installed a copy of RedHat 6.0 on it that I had lying around. The installation went smoothly, and I decided to get the first dedicated server on there. I chose Jedi Knight 2, so I got the linux server and followed all the instructions. Then came time to run it. After it loaded the server.cfg file and got all the values from it, it waited about 10 seconds, and got a segmentation fault. I've tried many things but I can't fix it. Anyone know why this might happen? Could a kernel upgrade possibly help? TIA.

RenegadeKing
__________________
"When the only tool you have is a hammer, every problem starts to look like a nail."
RenegadeKing is offline   Reply With Quote
Old 06-11-2002, 04:41 PM   #2
Member (8 bit)
 
Join Date: Mar 2002
Posts: 229
Not really something I've tried, but I am not so sure that the kernel would be as big a deal as some of the libraries, or maybe the hardware support for your computer. Is the server part of this supposed to do graphics and sound, locally or is it pretty much a text client, running like a background process?
MaXimum SMOKE is offline   Reply With Quote
Old 06-11-2002, 09:05 PM   #3
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
It's just a text server. I decided to install 7.3 on it. The only reason I didn't before was because I didn't have the ISOs burned on CDs. Now, the installation is around 800 megs after unchecking some things, vs the 300 meg installation before. The HDD is only 2 gigs. I should prolly get another one and some more ram..
RenegadeKing is offline   Reply With Quote
Old 06-11-2002, 10:16 PM   #4
Member (8 bit)
 
Join Date: Mar 2002
Posts: 229
Hopefully, the 7.3, with the newer files will take care of the problem. I wasn't too sure you would want to push version 7.3, with a 200, if you had to cover the graphics, as the OS hardware demands are much heavier on 7.3, than 6. I checked a few sites, on this server, but couldn't find much. More talk about the game.
I remember RH 6.0 very well. The jump from 5.2 to 6.0 reminded me of the diff between win 3.1 and 95
MaXimum SMOKE is offline   Reply With Quote
Old 06-11-2002, 10:38 PM   #5
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Well, unfortunately, it didn't fix the problem.

Segmentation fault: an error in which a running program attempts to access memory not allocated to it.

So I'm guessing lack of ram (32 megs) is the real problem.

I'll try to get more ram for it, the mobo can take up to 128 megs. If it fixes the problem, I'll put 6.0 back on. Everything seems to have gone faster with it and it took up a lot less space. I'll put 7.3 on this computer
RenegadeKing is offline   Reply With Quote
Old 06-18-2002, 11:00 PM   #6
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Well, I maxed it out with 128 megs of ram. I reinstalled RH 6. I used 128 megs of swap. I installed the server, ran it, and I still get a segmentation fault! I reinstalled it and used 256 megs of swap. Put the server on, and ran it. Still, a segmentation fault! So I checked free -m and it said that I only have 10 megs of ram free! I rebooted, and it said i have 105 megs free. I ran the server, and checked free -m in another screen. It got up to 5 megs free, and then it got a segmentation fault. It went back to 10 megs free. The swap stayed empty. So basically, from what I can tell, it eats up the ram and never goes to the swap. Then it crashes. Does anyone know why this would happen? TIA

Also, I checked the ram with DocMemory v2, and all the tests pass. So the memory is good.

Last edited by RenegadeKing; 06-18-2002 at 11:02 PM.
RenegadeKing is offline   Reply With Quote
Old 06-18-2002, 11:41 PM   #7
Banned
 
Join Date: Feb 2002
Location: in harms way
Posts: 2,768
Linux will load most of the mem up and when you open an app it will drop unneeded items from the mem to make room. So, 4 megs left out of 128 is normal at startup.
This sounds like an addressing issue in the server software. Addressing may be a prob for both the server and linux as far as server mem calls go. Is this server program for linux specificly?
Blakhart is offline   Reply With Quote
Old 06-19-2002, 12:05 AM   #8
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Well at bootup I have 105 megs free. It's after the server runs that it eats it all up. I downloaded the Linux version of the Jedi Knight 2 server. I followed the directions, copied the pk3 files over from the cd, used the server.cfg file I am using with the windows version of the server, and got one map. After it loads all the variables from server.cfg, it sits there for a few seconds, and gives the error. Apparently lots of people are running this server fine with linux. I have yet to install win98 on the machine and try the windows version of the server with it. Even if that worked though, I wouldn't want to keep it that way. I want it running with linux.

Any other thoughts?
RenegadeKing is offline   Reply With Quote
Old 06-19-2002, 07:01 PM   #9
Member (8 bit)
 
Join Date: Mar 2002
Posts: 229
Can you re-download the file? Maybe from another server. I've seen Linux get a little fussy under certain graphics programs, but on a text- only. Not a usual thing. How well does this install run the regular Linux apps, by the way? Is it stabile the rest of the time?
MaXimum SMOKE is offline   Reply With Quote
Old 06-19-2002, 10:16 PM   #10
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
I haven't run much of anything else, but the first time I installed it with X window system, and netscape ran fine. The last few times I chose no GUI.

I downloaded it from two different places, but no luck. I just got win98 on it and am going to try it on that to rule out a hardware problem. I'll report back soon.
RenegadeKing is offline   Reply With Quote
Old 06-20-2002, 03:59 PM   #11
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Well it works on win98.
RenegadeKing is offline   Reply With Quote
Old 06-27-2002, 10:40 PM   #12
Member (11 bit)
 
Computer Hobbyist's Avatar
 
Join Date: Feb 2001
Location: Blue Springs, MO
Posts: 1,766
RenegadeKing,

I was reading this thread and it struck me that you created a swap partition of 128 meg. I am not sure, but as I recall the maximum swap partition for Redhat 6.0 was 127 meg. You should also make sure you uncheck the "grow to fill disk" box when creating the swap partition. You might also want to check for bad blocks as you format. Since we are dealing with an old harddrive it could be that the swap partition is running into a bad block or two that hasn't been identified. I don't know if these ideas will solve your problem, but you might give them a try if you decide to go back to Linux.

I have a feeling that the problems you are encountering are in the swap partition.

CH

Last edited by Computer Hobbyist; 06-27-2002 at 10:56 PM.
Computer Hobbyist is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:09 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0