[TAG] segmentation fault

J.Bakshi hizibizi at spymac.com
Fri Sep 30 21:05:37 MSD 2005


On Tue, 27 Sep 2005 08:25:19 -0700
Mike Orr <mso at oz.net> wrote:

> Run "df" and make sure you aren't running out of disk space.  Sometimes 
> a full disk causes seemingly-unrelated errors.

*df -H* shows

Filesystem             Size   Used  Avail Use% Mounted on
/dev/hda2              21G   1.8G    19G   9%         /
tmpfs                     65M      0    65M        0%     /dev/shm
/dev/hda3               20G   936M    19G   5%     /data
> 
> If the segfault happens at random times, the culprit is usually bad 
> memory.  But if it happens consistently at a certain point, it's often a 
> library mismatch.  Or Linux thinks you have more memory than you 
> actually do, and it tried to put something at the top of memory and then 
> retrieve it.  Run "free" and "dmesg | less" to verify how much memory 
> Linux thinks you have.  If it guessed wrong, you'll have to set LILO/grub
 
I have add on PCI so no memory sharing. I have 128MB RAM. BIOS shows 128MB at DDR1. POST shows 131072KB OK. but *free -m* shows as below

            total       used       free     shared    buffers     cached
Mem:  123        117          6          0          9         39
-/+ buffers/cache:           68         55
Swap:   243         0        243

*memtest86+* shows *Memory 128MB*, but *memtest all* can't be executed as mlock fails due to page allocation problem though *memtest 100m * running fine.

I have also used *mem=128m* with grub but result is same as above.

the  swap in my PC  = 128MB x 2
> 
> Or perhaps something is wrong with your swap partitions.  Deactivate 
> them all ("swapoff -a") and try the commands again.
> 
done but same result -:(






More information about the TAG mailing list