[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Help:General protection fault in Linux?????? (It's the swap!)
- From: Alexander Woodby <awoodby tir com>
- To: "Jose M. Sanchez" <opjose ex-pressnet com>, redhat-install-list redhat com
- Subject: Re: Help:General protection fault in Linux?????? (It's the swap!)
- Date: Thu, 29 Oct 1998 13:21:12 -0800
Just tried mkswap (after swapoff) and get
mkswap: warning: truncating swap area to 130752kB
Setting up swapspace, size=133885952 bytes
Why is it truncating the swap size? I seem to remember an older version
having the swap size limited to 130M but not any more, what's the deal?
TIA,
--alex
Jose M. Sanchez wrote:
>
> Off hand what comes to mind is that maybe the parameters which were passed
> to mkswap were incorrect and it needs to be rerun....
>
> OR
>
> Linux doesn't like to have the swap space out so far on your hard drive...
>
> -JMS
>
> -----Original Message-----
> From: Alexander Woodby <awoodby tir com>
> To: Jose M. Sanchez <opjose ex-pressnet com>
> Date: Thursday, October 29, 1998 12:45 PM
> Subject: Re: Help:General protection fault in Linux?????? (It's the swap!)
>
> >> >Well, the computer doesn't even come up any more, just halts on the POST
> >> >with
> >> >CMOS checksum error - Defaults loaded
> >> >
> >>
> >> This is more than likely caused by the original problem. Apps were
> probably
> >> erringly writing to wrong memory regions finally erasing the CMOS...
> >
> >Actually I just set up this system, and it was behaving strangely (not
> >wanting to start up) before I even had software on it?
> >
> >> Set the CMOS data before anything else, or else the bios will report the
> >> wrong info to Linux...
> >
> >I set it again.
> >
> >>
> >> >Mem: 64108 62824 1284 18924 45460 6136
> >> >-/+ buffers/cache:11228 52880
> >> >Swap: 130748 0 130748
> >>
> >> Ok so you have 64Megs of physical RAM linux knows about and 128Megs of
> swap
> >> space....
> >> >
> >> >I have 1 128meg sdram in this computer (but don't have the
> >> >append="mem=128M" in lilo.conf, am adding that now...)
> >> >
> >>
> >> I have had problems with Linux, on systems using a single SDRAM strip
> when
> >> the OS was unaware of the full ram amount... the 128m line might be
> enough
> >> to cure the problem.... eh, no, I just saw the message below...
> >
> >It took the append fine, now it reports 128megs of mem.
> >
> >>
> >> ---
> >>
> >> >fstab has...
> >> >/dev/sda1 / ext2 defaults 1 1
> >> >/dev/sda2 /var ext2 defaults 1 2
> >> >/dev/sda3 /web ext2 defaults 1 2
> >> >/dev/sda4 swap swap defaults 0 0
> >> >/dev/fd0 /mnt/floppy ext2 noauto 0 0
> >> >/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
> >> >none /proc proc defaults 0 0
> >> >
> >> >
> >> >and fdisk shows...
> >> >
> >> >/dev/sda1 * 1 1 64 514048+ 83 Linux native
> >> >/dev/sda2 65 65 128 514080 83 Linux native
> >> >/dev/sda3 129 129 500 2988090 83 Linux native
> >> >/dev/sda4 501 501 554 433755 82 Linux swap
> >> >
> >> >It doesn't look to me that swap is on? What did I miss? Shouldn't I
> >> >have 433755 megs of swap space, not 130?
> >> >
> >>
> >> You mean 4xx megs, but you are right, the 130 is incorrect, the swap file
> >> size is misreported. Bring the unit up in single user mode and run fdisk
> >> again... something is definitely wrong with the swap file...
> >>
> >> -JMS
> >
> >Oops, correct, I did mean 4xx megs. Looking, all of my systems are
> >reporting the 130 megs of swap, NOT what I set for swap space?
> >
> >Fdisk is reporting the same thing, 433755 blocks of Linux swap
> >
> >What do I need to DO to set the system to the real swap space?
> >
> >Again, thanks for all your help!!!
> >
> >--Alex
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]