LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2003, 01:25 PM   #1
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Rep: Reputation: 15
Problem when doubling my RAM


I was wondering if anyone else has encountered a problem before when adding more RAM to their system.

I'm using RH8, with 256 DDR and 509MB of swap, and it works fine,. I just bought another 256 DDR dimm giving me 512 RAM and 509 MB of swap (as I do not know how to change the value), but when my system loads up, and I try to login to Gnome2 I get a segmentation fault, but when I remove the second DIM of DDR everything works fine.

Any suggestions would be appreciated.
thanks
 
Old 05-02-2003, 01:26 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you can run
swapoff <swapdevice>
then mkswap <swapdevice> size
swapon <swapdevice> to change your swap
 
Old 05-02-2003, 01:31 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Bad ram?

Memtest86

I never set more than 128 MB swap, so I doubt that you need more swap.

Last edited by fancypiper; 05-02-2003 at 01:32 PM.
 
Old 05-02-2003, 01:32 PM   #4
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Original Poster
Rep: Reputation: 15
Nope, ram works fine when I boot win2k
-------------------
mkswap: error: size 1024768 is larger than device size 521608

I guess I'll need to repartion all my drives, thats going to be fun.

thanks for the commands.
 
Old 05-02-2003, 01:36 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Always run memtest86 when installing new ram. It can't hurt and the way windows works is no indication the ram is good.

Run a game and see if you can play for more than an hour without crashing.

Can you compile something in Windows? That is always a good check as that is mem usage heavy.
 
Old 05-02-2003, 01:49 PM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
i meant you could make the swapsize smaller than
the device, to test.
even though it is 500 megs, you could turn it off,
or make it 100 megs or whatever. You don't have to
repartition to make it smaller.

windows uses ram from the top down, and linux
uses it from the bottom up. it used to be that way
though. they could have changed it, but i doubt it.

Last edited by whansard; 05-02-2003 at 01:51 PM.
 
Old 05-02-2003, 02:28 PM   #7
acid2000
Member
 
Registered: Nov 2001
Location: Exeter, UK
Distribution: Gentoo 1.4
Posts: 243

Rep: Reputation: 30
Does sound like a classic case of faulty ram.

When gnome loaded up in was allocated to the faulty part, parity check failed -- bobs your uncle.
 
Old 05-02-2003, 03:50 PM   #8
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Original Poster
Rep: Reputation: 15
Well the ram is fine, left the memtest program running while I was out doing some errands, and it did 4 passes with 0 errors and 0 ECC's

I'm in gnome now, but I disabled swap, loaded gnome then enabled the swap back to the 509MB, and it seems to be running fine. Need to reboot and see what happens with the swap loaded at startup.

I always thought the swap had to be double the amount of physical ram, turns out I was mis-informed.

cheers.
 
Old 05-02-2003, 03:56 PM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
If you double ram, you need less swap. Current kernels can run with no swap IIRC.

I have 384 MB ram, 128 MB of swap, I am compiling a program, playing music with xmmx, browsing the web, downloading something with wget, running fetchmail, procmail, evolution, tail and probably several things I am forgetting. Memory usage:
Code:
[phil@tinwhistle phil]$ free -m
             total       used       free     shared    buffers     cached
Mem:           376        365         10          0         63        179
-/+ buffers/cache:        123        252
Swap:          133         64         68
[phil@tinwhistle phil]$

Last edited by fancypiper; 05-02-2003 at 04:14 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
editing the PATH problem - doubling? djc SUSE / openSUSE 7 10-31-2005 01:35 PM
Win98SE Pentium166MMX/64MB RAM vs Linux AthlonXP+ 3000/512MB RAM : Lucent LT WinModem t3gah Linux - Software 2 04-22-2005 01:01 PM
doubling up dsl modems? pld Linux - Networking 2 11-04-2004 04:23 PM
Out of Ram problem. bbenz3 Linux - Software 5 10-10-2004 01:15 AM
Letter doubling Caligula Linux - Hardware 2 03-08-2003 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration