linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Swap file or device can't be recognized by kernel built with 64K pages.
@ 2006-08-30  3:42 Yao Fei Zhu
  2006-08-30  5:05 ` Yao Fei Zhu
  0 siblings, 1 reply; 2+ messages in thread
From: Yao Fei Zhu @ 2006-08-30  3:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-mm, havelblue

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Swap file or device can't be recognized by kernel built with 64K pages.
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Yao Fei Zhu @ 2006-08-30  5:05 UTC (permalink / raw)
  To: walkinair; +Cc: linux-kernel, linux-mm, havelblue

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-30  5:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox