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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [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 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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux