Swap file or device can't be recognized by kernel built with 64K pages.
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 64KCONFIG_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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 14 lines · Yao Fei Zhu
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
Quoted 6 lines
tc1:~ # zcat
/proc/config.gz| grep 64KCONFIG_PPC_64K_PAGES=ytc1:~ # 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.
Quoted 11 lines
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 [email protected]
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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>