Red Hat Bugzilla – Bug 158795
HDIO_GETGEO returns zero for cylinder/sector/head on large (>2TB) disks.
Last modified: 2012-06-20 12:16:21 EDT
From: Tom Coughlan <email@example.com>
Subject: [RHEL 4 patch] fix disk geometry calculation for large disks
Date: Sat, 30 Apr 2005 17:54:36 -0400
Testing has shown that HDIO_GETGEO sometimes returns heads=0 for large disks.
This causes parted to die with a Floating Point Exception, and other possible
problems we have not seen yet.
The problem occurs because several routines in scsicam_bios_param castsector_t
capacity to unsigned long. The proposed solution is to avoid calling these
routines at all if the capacity exceeds 65535*63*255. These are the maximum
allowed values for cylinder/sector/head, so there is no point in going through
the whole routine to get to them.
The patch was posted upstream, but received no comments. It is in Fedora now for
Adding to the proposed list for U2.
Deferring QE ack. Doesn't appear that we're entirely sure we have a problem.
Updating PM score.
Since RHEL 4.8 External Beta has begun, and this bugzilla remains
unresolved, it has been rejected as it is not proposed as exception or
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.