Bug 158795 - HDIO_GETGEO returns zero for cylinder/sector/head on large (>2TB) disks.
HDIO_GETGEO returns zero for cylinder/sector/head on large (>2TB) disks.
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mike Christie
Brian Brock
Depends On:
Blocks: 430698 461304
  Show dependency treegraph
Reported: 2005-05-25 16:08 EDT by Tom Coughlan
Modified: 2012-06-20 12:16 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-20 12:16:21 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 Tom Coughlan 2005-05-25 16:08:25 EDT
From: 	Tom Coughlan <coughlan@redhat.com>
To: 	rhkernel-list@redhat.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.
Comment 17 Jay Turner 2006-10-03 09:34:09 EDT
Deferring QE ack.  Doesn't appear that we're entirely sure we have a problem.
Comment 20 RHEL Product and Program Management 2008-09-03 09:10:14 EDT
Updating PM score.
Comment 22 RHEL Product and Program Management 2009-03-12 14:54:09 EDT
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 
Comment 23 Jiri Pallich 2012-06-20 12:16:21 EDT
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.

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