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 136140

Summary: adjustment to new stat64 interface in 2.6
Product: Red Hat Enterprise Linux 4 Reporter: Yoav Zach <yoav.zach>
Component: ia32elAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: ezannoni, jturner
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-13 17:55:28 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:
Attachments:
Description Flags
adjust to new interface of stat64 in kernel 2.6 none

Description Yoav Zach 2004-10-18 09:59:11 UTC
Description of problem:
The execution layer is not aware of the full 32 bit device numbers, 
and it discards the upper 12 bits of the minor number and 4 bits of 
the major number when doing stat calls. (Now we have 20bit minors/12 
bit majors in the 2.6 kernel)


Version-Release number of selected component (if applicable):
5079

How reproducible:
consistently


Steps to Reproduce:
create a block device
 # mknod /tmp/dev b 1 1000
copy an IA-32 stat program to a IPF system and do
 #stat32 /tmp/dev  --format=%T
  
Actual results:
e8

Expected results:
3e8

Additional info:

Comment 1 Yoav Zach 2004-10-18 10:01:13 UTC
Created attachment 105367 [details]
adjust to new interface of stat64 in kernel 2.6

Comment 2 Jakub Jelinek 2004-10-21 19:45:32 UTC
Patch is in ia32el-1.1-6.

Comment 3 Jay Turner 2005-01-13 17:55:28 UTC
Closing out.  Please reopen if the problem is still present with recent code.