lkml.org 
[lkml]   [2006]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Swap file or device can't be recognized by kernel built with 64K pages.
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 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/

\
 
 \ /
  Last update: 2006-08-30 07:09    [W:0.029 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site