> I have many dual pentium pro machines running Linux 2.0.x with SMP
> support enabled and cannot get any of them to use swap space. A sample
> machine configuration follows:
>
> Dual Intel Pentium Pro 200's
> 512M
> Adaptec 2940UW
> Matrox Video (I believe, nothing fancy..could be hardware conflict?)
> 2 Intel Etherexpress 100 network cards
> Linux 2.0.33
check your fstab file (in /etc) for a line like:
/dev/sda2 swap swap defaults 0 0
run fdisk, or cfdisk, and make sure there is a partition tagged as
"linux swap" (code 82):
fdisk output:
/dev/sda2 21 21 32 96390 82 Linux swap
if you had to creat the swap partition you must write it to disk, and then
reboot, (just to be safe).
run "mkswap /dev/sda2" (replace the device with whatever partition/device
you have your swap on.)
run swapon -a in /etc/rc.d/rc.sysinit (redhat 5.x) or in one ofthe first
running init scripts for slackware, or whatever distrib you have..
after you reboot ,and made sure "swapon -a" ran, run "free" and you should
see:
[dave@bartender 80's]$ free
total used free shared buffers cached
Mem: 63092 62040 1052 47092 1348 17176
-/+ buffers/cache: 43516 19576
Swap: 96384 4764 91620
Notice the last line..
Good luck..
Dave J. Andruczyk
Linux Systems Admin
Buffalo State College