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

Yao Fei Zhu wrote:

> 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

Should use mkswap -v1 to create a new style swap area.

>
> tc1:~ # swapon ./swap.file
> swapon: ./swap.file: Invalid argument
>
>
> -
> 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/
>



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

Yao Fei Zhu wrote:

> 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

Should use mkswap -v1 to create a new style swap area.

>
> tc1:~ # swapon ./swap.file
> swapon: ./swap.file: Invalid argument
>
>
> -
> 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/
>


--
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  5:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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  3:42 ` Yao Fei Zhu
2006-08-30  5:05 ` Yao Fei Zhu [this message]
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=44F51CB7.4010504@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.