Re: Swap file or device can't be recognized by kernel built with64K pages.

From: Yao Fei Zhu
Date: Wed Aug 30 2006 - 01:03:24 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/