Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 3140 - On sparc64, mkswap sets incorrect bits in bitmap
Summary: On sparc64, mkswap sets incorrect bits in bitmap
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 6.0
Hardware: sparc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Turner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-29 13:14 UTC by Jeff Johnson
Modified: 2015-01-07 23:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-05-29 18:10:49 UTC


Attachments (Terms of Use)

Description Jeff Johnson 1999-05-29 13:14:27 UTC
Some changes to recent 2.3.4-pre kernels pointed out this
bug.
The mkswap tool on sparc64 would set the wrong bits in the
swappage
bitmap in the signature for version 0 swap partitions (the
issue is
that on big endian it matters what size the unit of words is
for
bitmaps).

This is deadly, and if users report bugs where their
UltraSparc's spit
out messages such as "attempt to read past end of device" or
similar,
and the device number printed out turns out to be one of
their swap
devices, this is indeed the bug they are seeing.

This is against the current 6.0 util-linux SRPM and builds
just fine.

Please put out an errata for this at next convenience,
thanks a lot.

Comment 1 Jeff Johnson 1999-05-29 18:10:59 UTC
Fixed (by applying patch) in util-linux-2.9o-14.


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