All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yao Fei Zhu <walkinair@cn.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: linux-mm@kvack.org, havelblue@us.ibm.com
Subject: Swap file or device can't be recognized by kernel built with 64K pages.
Date: Wed, 30 Aug 2006 11:42:56 +0800	[thread overview]
Message-ID: <44F50940.1010204@cn.ibm.com> (raw)

Problem description:
swap file or device can't be recognized by kernel built with 64K pages.

Hardware Environment:
    Machine type (p650, x235, SF2, etc.): B70+
    Cpu type (Power4, Power5, IA-64, etc.): POWER5+
Software Environment:
    OS : SLES10 GMC
    Kernel: 2.6.18-rc5
Additional info:

tc1:~ # uname -r
2.6.18-rc5-ppc64

tc1:~ # zcat /proc/config.gz | grep 64K
CONFIG_PPC_64K_PAGES=y

tc1:~ # mkswap ./swap.file
Assuming pages of size 65536 (not 4096)
Setting up swapspace version 0, size = 4294901 kB

tc1:~ # swapon ./swap.file
swapon: ./swap.file: Invalid argument



WARNING: multiple messages have this Message-ID (diff)
From: Yao Fei Zhu <walkinair@cn.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: linux-mm@kvack.org, havelblue@us.ibm.com
Subject: Swap file or device can't be recognized by kernel built with 64K pages.
Date: Wed, 30 Aug 2006 11:42:56 +0800	[thread overview]
Message-ID: <44F50940.1010204@cn.ibm.com> (raw)

Problem description:
swap file or device can't be recognized by kernel built with 64K pages.

Hardware Environment:
    Machine type (p650, x235, SF2, etc.): B70+
    Cpu type (Power4, Power5, IA-64, etc.): POWER5+
Software Environment:
    OS : SLES10 GMC
    Kernel: 2.6.18-rc5
Additional info:

tc1:~ # uname -r
2.6.18-rc5-ppc64

tc1:~ # zcat /proc/config.gz | grep 64K
CONFIG_PPC_64K_PAGES=y

tc1:~ # mkswap ./swap.file
Assuming pages of size 65536 (not 4096)
Setting up swapspace version 0, size = 4294901 kB

tc1:~ # swapon ./swap.file
swapon: ./swap.file: Invalid argument


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2006-08-30  3:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30  3:42 Yao Fei Zhu [this message]
2006-08-30  3:42 ` Swap file or device can't be recognized by kernel built with 64K pages Yao Fei Zhu
2006-08-30  5:05 ` Yao Fei Zhu
2006-08-30  5:05   ` Yao Fei Zhu

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=44F50940.1010204@cn.ibm.com \
    --to=walkinair@cn.ibm.com \
    --cc=havelblue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /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.