All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masoud Sharbiani <masouds@oeone.com>
To: paule <paule@ilu.vu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Swap issue
Date: Wed, 06 Feb 2002 07:09:00 -0500	[thread overview]
Message-ID: <3C611CDC.6010503@oeone.com> (raw)
In-Reply-To: <20020206042922.GA89628@oenone.stormclouds.net>

paule wrote:

>Having just upgraded slackware8.0 (2.2 kernel)
>to using 2.5.2, (2.5.3 patch install failed looking for malloc.h)
>Im unable to use swap, despite it showing a success.
>
># dd if=/dev/zero of=/swap/swapfile bs=1024 count=131072
>13107+0 records in
>13107+0 records out
># mkswap -c /swap/swapfile
>Setting up swapspace version 1, size = 13414400 bytes
>
I'd do a sync before turning swap on  on a file if I were you.

># swapon /swap/swapfile
>swapon: /swap/swapfile: Success
># cat /proc/meminfo
>MemTotal:        61720 kB
>MemFree:          1896 kB
>MemShared:           0 kB
>Buffers:          8300 kB
>Cached:          30712 kB
>SwapCached:          0 kB
>Active:          25316 kB
>Inactive:        19688 kB
>HighTotal:           0 kB
>HighFree:            0 kB
>LowTotal:        61720 kB
>LowFree:          1896 kB
>SwapTotal:           0 kB
>SwapFree:            0 kB
>
>I've tried various kernel configurations, and it just doesn't
>want to work.
>
>(It was however working under 2.2.x)
>
>Any ideas?
>
>TIA,
>--
>Paul Edwards
>paule@ilu.vu
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>




  reply	other threads:[~2002-02-06 11:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-06  4:29 Swap issue paule
2002-02-06 12:09 ` Masoud Sharbiani [this message]
2002-02-06 14:27 ` Drew P. Vogel
2002-02-06 15:42   ` Hugh Dickins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C611CDC.6010503@oeone.com \
    --to=masouds@oeone.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paule@ilu.vu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.