Bug 4539 - mkswap fails on cylinders past 1024.
mkswap fails on cylinders past 1024.
Product: Red Hat Linux
Classification: Retired
Component: util-linux (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Crutcher Dunnavant
Depends On:
  Show dependency treegraph
Reported: 1999-08-15 18:38 EDT by michaeloqu
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-30 19:28:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description michaeloqu 1999-08-15 18:38:40 EDT
On a 2 GB /dev/hdb, mkswap fails on any partition located
past the 1024 cylinder boundary.  The error given by mkswap
is "mkswap: error: swap area needs to be at least 40kB".

This does not seem to be affected by the ordering of the
partitions in the partition tables, nor by whether the
partition has been created as a primary partition or an
extended partition.  I have not been able to confirm that
the 1024th cylinder is the exact Magic Breaking Point.
(Currently, abusing that particular location of that
particular disk would most decidedly break my machine
altogether, since it is right in the middle of a huge /usr
-- right now I would have to do a complete reinstall)  I
_have_ observed that placing a swap partition low works,
but high (around cylinder 1600 on this disk) breaks mkswap.
Comment 1 Florian La Roche 2000-08-08 08:03:55 EDT
this seems to work without any problems for me. Please reopen with more
information this this
still fails with newer Red Hat releases.

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