Bug 134636 - Swap partition larger than 128GB cannot be swapon.
Summary: Swap partition larger than 128GB cannot be swapon.
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-05 10:48 UTC by Murakami Hiroshi
Modified: 2015-01-04 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-10-03 00:19:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Murakami Hiroshi 2004-10-05 10:48:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7)
Gecko/20040625

Description of problem:
The swap partition on a disk larger than
128GBytes (2^37bytes, about 138GB in decimal) cannot be swapon.
------
# swapon /dev/sdb1
swapon: /dev/sdb1: Cannot allocate \ memory.
------
The slightly smaller than 128GB (for example 120GB) swap partition 
is OK to be swap on.
I think this is a kind of bug.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. make swap area much larger than 128GB (for example 160GB) using  
fdisk. # fdisk /dev/sdb
2. mkswap /dev/sdb1
3. swapon /dev/sdb1
    

Actual Results:  The swapon command returns message as:
# swapon /dev/sdb1
swapon: /dev/sdb1: Cannot allocate memory

Expected Results:  The swapon command were finished with success.

Additional info:

The swap partition size larger than 2^37 (140GB, or 160GB for example)
does have this problem. The swap partition of size 120GB or 100GB
has no problem at all.

Comment 1 Warren Togami 2004-10-05 12:24:28 UTC
Curious, why do you want such a large swap?


Comment 2 Dave Jones 2005-07-15 17:50:55 UTC
An update has been released for Fedora Core 3 (kernel-2.6.12-1.1372_FC3) which
may contain a fix for your problem.   Please update to this new kernel, and
report whether or not it fixes your problem.

If you have updated to Fedora Core 4 since this bug was opened, and the problem
still occurs with the latest updates for that release, please change the version
field of this bug to 'fc4'.

Thank you.

Comment 3 Dave Jones 2005-10-03 00:19:58 UTC
This bug has been automatically closed as part of a mass update.
It had been in NEEDINFO state since July 2005.
If this bug still exists in current errata kernels, please reopen this bug.

There are a large number of inactive bugs in the database, and this is the only
way to purge them.

Thank you.


Note You need to log in before you can comment on or make changes to this bug.