32-bit RHEL6 kernel sees only 4k of swap, or encounters a swapon failure
Issue
- 32-bit RHEL6 kernel registers swap space of 4 KiB only regardless of the actual swap area size.
- 32-bit RHEL6 kernel encounters "Invalid argument" (
-EINVAL) error fromswaponcommand (systemcall).
Environment
- Red Hat Enterprise Linux 6 (32-bit only)
- kernel version 2.6.32-754.3.5 and newer
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.