Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 158795

Summary: HDIO_GETGEO returns zero for cylinder/sector/head on large (>2TB) disks.
Product: Red Hat Enterprise Linux 4 Reporter: Tom Coughlan <coughlan>
Component: kernelAssignee: Mike Christie <mchristi>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: bdonahue, jturner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 16:16:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 430698, 461304    

Description Tom Coughlan 2005-05-25 20:08:25 UTC
From: 	Tom Coughlan <coughlan>
To: 	rhkernel-list
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
testing. 

Adding to the proposed list for U2.

Comment 17 Jay Turner 2006-10-03 13:34:09 UTC
Deferring QE ack.  Doesn't appear that we're entirely sure we have a problem.

Comment 20 RHEL Program Management 2008-09-03 13:10:14 UTC
Updating PM score.

Comment 22 RHEL Program Management 2009-03-12 18:54:09 UTC
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 
blocker.

Comment 23 Jiri Pallich 2012-06-20 16:16:21 UTC
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.